svn commit: samba r1752 - branches/SAMBA_4_0/source/libcli/auth

abartlet at samba.org abartlet at samba.org
Thu Aug 12 03:35:40 GMT 2004


Author: abartlet
Date: 2004-08-12 03:35:38 +0000 (Thu, 12 Aug 2004)
New Revision: 1752
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1752&nolog=1
Log:
Fix compile bugs on C (rather than C++) tolerant compilers.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/libcli/auth/spnego.c

Changeset:
Modified: branches/SAMBA_4_0/source/libcli/auth/spnego.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/auth/spnego.c	2004-08-12 03:35:20 UTC (rev 1751)
+++ branches/SAMBA_4_0/source/libcli/auth/spnego.c	2004-08-12 03:35:38 UTC (rev 1752)
@@ -285,6 +285,7 @@
 						  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 @@
 		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);



More information about the samba-cvs mailing list