mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
EAP-TEAP peer: Fix protected indication of inner EAP method failure
Need to leave EAP-TEAP methodState == MAY_CONT when marking decision = FAIL based on inner EAP method failure since this message will be followed by protected failure indication. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
93cd29d2b8
commit
71419119f4
@ -458,7 +458,8 @@ static int eap_teap_phase2_request(struct eap_sm *sm,
|
||||
if (!(*resp) ||
|
||||
(iret.methodState == METHOD_DONE &&
|
||||
iret.decision == DECISION_FAIL)) {
|
||||
ret->methodState = METHOD_DONE;
|
||||
/* Wait for protected indication of failure */
|
||||
ret->methodState = METHOD_MAY_CONT;
|
||||
ret->decision = DECISION_FAIL;
|
||||
} else if ((iret.methodState == METHOD_DONE ||
|
||||
iret.methodState == METHOD_MAY_CONT) &&
|
||||
|
Loading…
Reference in New Issue
Block a user