From: Andrew Bartlett Date: Mon, 2 Jan 2012 10:04:57 +0000 (+1100) Subject: s3-gse Move GSS_C_DCE_STYLE backup definition to gse.c X-Git-Tag: tevent-0.9.15~327 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ad14b8c655f1ae02b2d2b854ab6bda4480c5f8ca;p=thirdparty%2Fsamba.git s3-gse Move GSS_C_DCE_STYLE backup definition to gse.c Signed-off-by: Stefan Metzmacher --- diff --git a/source3/librpc/crypto/gse.c b/source3/librpc/crypto/gse.c index 867899a6b8d..dec1dd0e039 100644 --- a/source3/librpc/crypto/gse.c +++ b/source3/librpc/crypto/gse.c @@ -34,6 +34,10 @@ #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" diff --git a/source3/librpc/crypto/gse.h b/source3/librpc/crypto/gse.h index 79452308857..8618573b4aa 100644 --- a/source3/librpc/crypto/gse.h +++ b/source3/librpc/crypto/gse.h @@ -21,10 +21,6 @@ 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_ */