s3-gse Move GSS_C_DCE_STYLE backup definition to gse.c
authorAndrew Bartlett <abartlet@samba.org>
Mon, 2 Jan 2012 10:04:57 +0000 (21:04 +1100)
committerStefan Metzmacher <metze@samba.org>
Wed, 18 Jan 2012 15:23:23 +0000 (16:23 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/librpc/crypto/gse.c
source3/librpc/crypto/gse.h

index 867899a6b8da7d2158f20a27a8177abc827f4e8b..dec1dd0e039be968ee5d3ce075786881d9ab4d38 100644 (file)
 #include "smb_krb5.h"
 #include "gse_krb5.h"
 
+#ifndef GSS_C_DCE_STYLE
+#define GSS_C_DCE_STYLE 0x1000
+#endif
+
 #ifndef GSS_KRB5_INQ_SSPI_SESSION_KEY_OID
 #define GSS_KRB5_INQ_SSPI_SESSION_KEY_OID_LENGTH 11
 #define GSS_KRB5_INQ_SSPI_SESSION_KEY_OID "\x2a\x86\x48\x86\xf7\x12\x01\x02\x02\x05\x05"
index 79452308857f8d9bfc9104f7b302ed38d8ade41c..8618573b4aa986f4d126f2729280e864ad5b723d 100644 (file)
 
 struct gse_context;
 
-#ifndef GSS_C_DCE_STYLE
-#define GSS_C_DCE_STYLE 0x1000
-#endif
-
 extern const struct gensec_security_ops gensec_gse_krb5_security_ops;
 
 #endif /* _GSE_H_ */