mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-18 19:04:02 -05:00
EAP-TEAP server: Require Intermediate-Result TLV even with Result TLV
It is not sufficient for the peer to include only the Result TLV if the server included both the Intermediate-Result TLV and Result TLV. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
0f7c91f2b9
commit
234489efd1
@ -1446,7 +1446,7 @@ static void eap_teap_process_phase2_tlvs(struct eap_sm *sm,
|
||||
return;
|
||||
}
|
||||
|
||||
if (!data->final_result &&
|
||||
if (sm->eap_teap_auth != 1 &&
|
||||
tlv.iresult != TEAP_STATUS_SUCCESS) {
|
||||
wpa_printf(MSG_DEBUG,
|
||||
"EAP-TEAP: Crypto-Binding TLV without intermediate Success Result");
|
||||
|
Loading…
Reference in New Issue
Block a user