From: Alexey Melnikov Date: Mon, 13 Jun 2011 17:40:54 +0000 (+0100) Subject: Fixed an incorrect call to gssEapWrapOrGetMIC in gss_delete_sec_context() X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.orig;a=commitdiff_plain;h=cd4ab0182d5d4c8e041a16ffa05e1271b89f3978 Fixed an incorrect call to gssEapWrapOrGetMIC in gss_delete_sec_context() The 4th parameter is a pointer to int and not an int. This was reported as a warning by VC on Windows. --- diff --git a/mech_eap/delete_sec_context.c b/mech_eap/delete_sec_context.c index af878fd..9619ead 100644 --- a/mech_eap/delete_sec_context.c +++ b/mech_eap/delete_sec_context.c @@ -67,7 +67,7 @@ gss_delete_sec_context(OM_uint32 *minor, iov[1].buffer.value = NULL; iov[1].buffer.length = 0; - major = gssEapWrapOrGetMIC(minor, ctx, FALSE, FALSE, + major = gssEapWrapOrGetMIC(minor, ctx, FALSE, NULL, iov, 2, TOK_TYPE_DELETE_CONTEXT); if (GSS_ERROR(major)) { GSSEAP_MUTEX_UNLOCK(&ctx->mutex);