X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=mech_eap%2Futil.h;h=ae2045c6f364802b9d4f638a9e721dc4dc6424bc;hb=07631352ec29202d593228a7c1cd2e2a97cd30fa;hp=4de00e3bcac33631ab1cefda61084d6874c08052;hpb=60385526c73f4fe194f5b3615fcf3fa2fd68f57d;p=mech_eap.orig diff --git a/mech_eap/util.h b/mech_eap/util.h index 4de00e3..ae2045c 100644 --- a/mech_eap/util.h +++ b/mech_eap/util.h @@ -177,12 +177,15 @@ enum gss_eap_token_type { #define ITOK_TYPE_REAUTH_RESP 0x00000009 /* optional */ #define ITOK_TYPE_VERSION_INFO 0x0000000A /* optional */ #define ITOK_TYPE_VENDOR_INFO 0x0000000B /* optional */ +#define ITOK_TYPE_GSS_FLAGS 0x0000000C #define ITOK_FLAG_CRITICAL 0x80000000 /* critical, wire flag */ #define ITOK_FLAG_VERIFIED 0x40000000 /* verified, API flag */ #define ITOK_TYPE_MASK (~(ITOK_FLAG_CRITICAL | ITOK_FLAG_VERIFIED)) +#define GSSEAP_WIRE_FLAGS_MASK GSS_C_MUTUAL_FLAG + OM_uint32 gssEapAllocContext(OM_uint32 *minor, gss_ctx_id_t *pCtx); OM_uint32 gssEapReleaseContext(OM_uint32 *minor, gss_ctx_id_t *pCtx);