add export_sec_context variant that does not reenter local attribute path
[moonshot.git] / mech_eap / gssapiP_eap.h
index 81fcf3f..635c155 100644 (file)
@@ -262,6 +262,16 @@ gssEapSaveStatusInfo(OM_uint32 minor, const char *format, ...);
 #define IS_WIRE_ERROR(err)              ((err) > GSSEAP_RESERVED && \
                                          (err) <= GSSEAP_RADIUS_PROT_FAILURE)
 
+/* export_sec_context.c */
+#define EXPORT_CTX_FLAG_DISABLE_LOCAL_ATTRS     0x1
+
+OM_uint32
+gssEapExportSecContext(OM_uint32 *minor,
+                       gss_ctx_id_t ctx,
+                       gss_buffer_t token,
+                       OM_uint32 flags);
+
+
 #ifdef __cplusplus
 }
 #endif