X-Git-Url: http://www.project-moonshot.org/gitweb/?p=moonshot.git;a=blobdiff_plain;f=moonshot%2Fmech_eap%2Fexport_sec_context.c;h=50f90f70511462f214649a7c20234d869dbbd798;hp=98003d560445141439a65f25a4a66b069c81f30f;hb=9da959f11ebc69e0ae63bc3464b258d161d01cd2;hpb=021ec0ef21578fee64f811400b2b243cb6efe734 diff --git a/moonshot/mech_eap/export_sec_context.c b/moonshot/mech_eap/export_sec_context.c index 98003d5..50f90f7 100644 --- a/moonshot/mech_eap/export_sec_context.c +++ b/moonshot/mech_eap/export_sec_context.c @@ -36,6 +36,7 @@ */ #include "gssapiP_eap.h" + #ifdef GSSEAP_ENABLE_ACCEPTOR static OM_uint32 gssEapExportPartialContext(OM_uint32 *minor, @@ -135,6 +136,7 @@ gssEapExportSecContext(OM_uint32 *minor, if (GSS_ERROR(major)) goto cleanup; } + #ifdef GSSEAP_ENABLE_ACCEPTOR /* * The partial context is only transmitted for unestablished acceptor @@ -208,7 +210,7 @@ cleanup: return major; } -OM_uint32 KRB5_CALLCONV +OM_uint32 GSSAPI_CALLCONV gss_export_sec_context(OM_uint32 *minor, gss_ctx_id_t *context_handle, gss_buffer_t interprocess_token)