From 274b1f4fd90d46b18c8c09e47594f7144e950237 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 7 Apr 2004 14:26:15 +0000 Subject: [PATCH] add GSS_C_EXPECTING_MECH_LIST_MIC_FLAG From: Luke Howard git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13697 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/gssapi/gssapi.h | 8 ++++++++ lib/gssapi/krb5/gssapi.h | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/lib/gssapi/gssapi.h b/lib/gssapi/gssapi.h index 3bc000e2a..b573d205c 100644 --- a/lib/gssapi/gssapi.h +++ b/lib/gssapi/gssapi.h @@ -116,6 +116,14 @@ typedef OM_uint32 gss_qop_t; #define GSS_C_PROT_READY_FLAG 128 #define GSS_C_TRANS_FLAG 256 +/* + * GSS_C_EXPECTING_MECH_LIST_MIC_FLAG - Setting this flag causes the + * initiator to insist that the acceptor integrity protect the mechanism + * list when using SPNEGO. This can be forced on by setting the + * [gssapi]require_mechlist_mic option in krb5.conf. + */ +#define GSS_C_EXPECTING_MECH_LIST_MIC_FLAG 0x10000 + /* * Credential usage options */ diff --git a/lib/gssapi/krb5/gssapi.h b/lib/gssapi/krb5/gssapi.h index 3bc000e2a..b573d205c 100644 --- a/lib/gssapi/krb5/gssapi.h +++ b/lib/gssapi/krb5/gssapi.h @@ -116,6 +116,14 @@ typedef OM_uint32 gss_qop_t; #define GSS_C_PROT_READY_FLAG 128 #define GSS_C_TRANS_FLAG 256 +/* + * GSS_C_EXPECTING_MECH_LIST_MIC_FLAG - Setting this flag causes the + * initiator to insist that the acceptor integrity protect the mechanism + * list when using SPNEGO. This can be forced on by setting the + * [gssapi]require_mechlist_mic option in krb5.conf. + */ +#define GSS_C_EXPECTING_MECH_LIST_MIC_FLAG 0x10000 + /* * Credential usage options */