summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-01-02 21:04:57 +1100
committerStefan Metzmacher <metze@samba.org>2012-01-18 16:23:23 +0100
commitad14b8c655f1ae02b2d2b854ab6bda4480c5f8ca (patch)
tree93b5b33341a8ec18e47e25c2ded713db1636e9c0 /source3
parent0132cca82599839ebb736e7eb32889a8cc9c91b7 (diff)
downloadsamba-ad14b8c655f1ae02b2d2b854ab6bda4480c5f8ca.tar.gz
samba-ad14b8c655f1ae02b2d2b854ab6bda4480c5f8ca.tar.bz2
samba-ad14b8c655f1ae02b2d2b854ab6bda4480c5f8ca.zip
s3-gse Move GSS_C_DCE_STYLE backup definition to gse.c
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/librpc/crypto/gse.c4
-rw-r--r--source3/librpc/crypto/gse.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/librpc/crypto/gse.c b/source3/librpc/crypto/gse.c
index 867899a6b8..dec1dd0e03 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 7945230885..8618573b4a 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_ */