From: Jouni Malinen Date: Sun, 11 Apr 2010 10:43:17 +0000 (+0300) Subject: EAP-MD5: Use conditional success decision X-Git-Tag: hostap_0_7_2~59 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=addb584881dafa5645dd1b509e7411d7e29493f8;p=thirdparty%2Fhostap.git EAP-MD5: Use conditional success decision The server may still reject authentication at this point, so better use conditional success decision. This allows the potentially following EAP-Failure message to be processed properly. [Bug 354] --- diff --git a/src/eap_peer/eap_md5.c b/src/eap_peer/eap_md5.c index 7961143a0..0edbae8f7 100644 --- a/src/eap_peer/eap_md5.c +++ b/src/eap_peer/eap_md5.c @@ -76,7 +76,7 @@ static struct wpabuf * eap_md5_process(struct eap_sm *sm, void *priv, wpa_printf(MSG_DEBUG, "EAP-MD5: Generating Challenge Response"); ret->methodState = METHOD_DONE; - ret->decision = DECISION_UNCOND_SUCC; + ret->decision = DECISION_COND_SUCC; ret->allowNotifications = TRUE; resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MD5, 1 + CHAP_MD5_LEN,