EAP server: Force identity request after eapRestart for passthrough
Fix start of reauthentication after failed authentication with passthrough (external AAA server) to use internal EAP Identity method. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
4a9e26b6e7
commit
5331c274e0
1 changed files with 8 additions and 0 deletions
|
@ -136,6 +136,14 @@ SM_STATE(EAP, INITIALIZE)
|
|||
{
|
||||
SM_ENTRY(EAP, INITIALIZE);
|
||||
|
||||
if (sm->eap_if.eapRestart && !sm->eap_server && sm->identity) {
|
||||
/*
|
||||
* Need to allow internal Identity method to be used instead
|
||||
* of passthrough at the beginning of reauthentication.
|
||||
*/
|
||||
eap_server_clear_identity(sm);
|
||||
}
|
||||
|
||||
sm->currentId = -1;
|
||||
sm->eap_if.eapSuccess = FALSE;
|
||||
sm->eap_if.eapFail = FALSE;
|
||||
|
|
Loading…
Reference in a new issue