git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a86e629
)
r2119: Noticed by jra:
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 31 Aug 2004 02:57:49 +0000
(
02:57
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:58:26 +0000
(12:58 -0500)
Clean up use of unitilaised variable.
Andrew Bartlett
source/libcli/auth/spnego.c
patch
|
blob
|
history
diff --git
a/source/libcli/auth/spnego.c
b/source/libcli/auth/spnego.c
index ed938c4a11526da953544d99497efef7020014e5..de71814354e88f075419fd9f2329ce32e6ea3be5 100644
(file)
--- a/
source/libcli/auth/spnego.c
+++ b/
source/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) {