From ad14b8c655f1ae02b2d2b854ab6bda4480c5f8ca Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 2 Jan 2012 21:04:57 +1100 Subject: [PATCH] s3-gse Move GSS_C_DCE_STYLE backup definition to gse.c Signed-off-by: Stefan Metzmacher --- source3/librpc/crypto/gse.c | 4 ++++ source3/librpc/crypto/gse.h | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) 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_ */ -- 2.11.4.GIT