summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/auth/spnego.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source4/libcli/auth/spnego.c b/source4/libcli/auth/spnego.c
index ed938c4a11..de71814354 100644
--- a/source4/libcli/auth/spnego.c
+++ b/source4/libcli/auth/spnego.c
@@ -287,15 +287,9 @@ static NTSTATUS gensec_spnego_client_negTokenInit(struct gensec_security *gensec
{
DATA_BLOB null_data_blob = data_blob(NULL,0);
NTSTATUS nt_status;
- int num_ops;
const char **mechTypes = NULL;
DATA_BLOB unwrapped_out = data_blob(NULL,0);
- if (num_ops < 1) {
- DEBUG(1, ("no GENSEC backends available\n"));
- return NT_STATUS_INVALID_PARAMETER;
- }
-
mechTypes = gensec_security_oids(out_mem_ctx, OID_SPNEGO);
if (!mechTypes) {