X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.git;a=blobdiff_plain;f=mech_eap%2Fget_mic.c;fp=mech_eap%2Fget_mic.c;h=9a7bfc7e4ecf8b53f6b79a2d36f559994e589dbf;hp=08dda7dead2288e670a430793818cf2999512a08;hb=9f7d7966ba46b648d20b0ec2ea62788b56b2018b;hpb=3f993b33bfbccc6ac801d665a3d77a6f911ff74a diff --git a/mech_eap/get_mic.c b/mech_eap/get_mic.c index 08dda7d..9a7bfc7 100644 --- a/mech_eap/get_mic.c +++ b/mech_eap/get_mic.c @@ -36,12 +36,12 @@ #include "gssapiP_eap.h" -OM_uint32 GSSAPI_CALLCONV -gss_get_mic_iov(OM_uint32 *minor, - gss_ctx_id_t ctx, - gss_qop_t qop_req, - gss_iov_buffer_desc *iov, - int iov_count) +static OM_uint32 +gssEapGetMIC(OM_uint32 *minor, + gss_ctx_id_t ctx, + gss_qop_t qop_req, + gss_iov_buffer_desc *iov, + int iov_count) { OM_uint32 major; @@ -101,9 +101,19 @@ gss_get_mic(OM_uint32 *minor, iov[1].buffer.value = NULL; iov[1].buffer.length = 0; - major = gss_get_mic_iov(minor, (gss_ctx_id_t)ctx, qop_req, iov, 2); + major = gssEapGetMIC(minor, (gss_ctx_id_t)ctx, qop_req, iov, 2); if (major == GSS_S_COMPLETE) *message_token = iov[1].buffer; return major; } + +OM_uint32 GSSAPI_CALLCONV +gss_get_mic_iov(OM_uint32 *minor, + gss_ctx_id_t ctx, + gss_qop_t qop_req, + gss_iov_buffer_desc *iov, + int iov_count) +{ + return gssEapGetMIC(minor, ctx, qop_req, iov, iov_count); +}