From c40a51a8ed8623b95715c0cb194772dcfeafb380 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Fri, 9 Sep 2011 14:18:59 -0400 Subject: [PATCH] Eap state machine may not change state; this is OK --- mech_eap/init_sec_context.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/mech_eap/init_sec_context.c b/mech_eap/init_sec_context.c index d6e8882..af76a4b 100644 --- a/mech_eap/init_sec_context.c +++ b/mech_eap/init_sec_context.c @@ -647,7 +647,6 @@ eapGssSmInitAuthenticate(OM_uint32 *minor, { OM_uint32 major; OM_uint32 tmpMinor; - int code; struct wpabuf *resp = NULL; *minor = 0; @@ -668,12 +667,7 @@ eapGssSmInitAuthenticate(OM_uint32 *minor, major = GSS_S_CONTINUE_NEEDED; - code = eap_peer_sm_step(ctx->initiatorCtx.eap); - if (code != 0) { - major = GSS_S_FAILURE; - *minor = GSSEAP_PEER_SM_STEP_FAILURE; - goto cleanup; - } + (void) eap_peer_sm_step(ctx->initiatorCtx.eap); if (ctx->flags & CTX_FLAG_EAP_RESP) { ctx->flags &= ~(CTX_FLAG_EAP_RESP); -- 2.1.4