From 5a4845ff8b44ef32cdb6d34ba5fc3359f9e3ef15 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 12 Aug 2004 03:35:38 +0000 Subject: r1752: Fix compile bugs on C (rather than C++) tolerant compilers. Andrew Bartlett (This used to be commit 0949b72645024a6810f447fe8acb643f98588ab3) --- source4/libcli/auth/spnego.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit