summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-08-12 03:35:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:53 -0500
commit5a4845ff8b44ef32cdb6d34ba5fc3359f9e3ef15 (patch)
tree67ce531866cc49527803ac7292e59a91439841f8 /source4
parent6292e5b95202b9cb17579cbcc5bf01483770e2d7 (diff)
downloadsamba-5a4845ff8b44ef32cdb6d34ba5fc3359f9e3ef15.tar.gz
samba-5a4845ff8b44ef32cdb6d34ba5fc3359f9e3ef15.tar.bz2
samba-5a4845ff8b44ef32cdb6d34ba5fc3359f9e3ef15.zip
r1752: Fix compile bugs on C (rather than C++) tolerant compilers.
Andrew Bartlett (This used to be commit 0949b72645024a6810f447fe8acb643f98588ab3)
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/auth/spnego.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/auth/spnego.c b/source4/libcli/auth/spnego.c
index 6a8b858f91..ed938c4a11 100644
--- a/source4/libcli/auth/spnego.c
+++ b/source4/libcli/auth/spnego.c
@@ -285,6 +285,7 @@ static NTSTATUS gensec_spnego_client_negTokenInit(struct gensec_security *gensec
TALLOC_CTX *out_mem_ctx,
const DATA_BLOB in, DATA_BLOB *out)
{
+ DATA_BLOB null_data_blob = data_blob(NULL,0);
NTSTATUS nt_status;
int num_ops;
const char **mechTypes = NULL;
@@ -301,7 +302,6 @@ static NTSTATUS gensec_spnego_client_negTokenInit(struct gensec_security *gensec
DEBUG(1, ("no GENSEC OID backends available\n"));
return NT_STATUS_INVALID_PARAMETER;
}
- DATA_BLOB null_data_blob = data_blob(NULL,0);
nt_status = gensec_subcontext_start(gensec_security,
&spnego_state->sub_sec_security);