From 9aed0f3ff77605e04e946d9d69191f922f893925 Mon Sep 17 00:00:00 2001 From: Alexey Melnikov Date: Mon, 13 Jun 2011 18:40:54 +0100 Subject: [PATCH] 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. --- moonshot/mech_eap/delete_sec_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonshot/mech_eap/delete_sec_context.c b/moonshot/mech_eap/delete_sec_context.c index af878fd..9619ead 100644 --- a/moonshot/mech_eap/delete_sec_context.c +++ b/moonshot/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); -- 2.1.4