properly terminate EAP authentication if EAP method fails
This commit is contained in:
parent
8affd7ac65
commit
cd37e13133
|
@ -509,8 +509,12 @@ static status_t process_client(private_eap_authenticator_t *this,
|
|||
case EAP_REQUEST:
|
||||
{
|
||||
this->eap_payload = client_process_eap(this, eap_payload);
|
||||
if (this->eap_payload)
|
||||
{
|
||||
return NEED_MORE;
|
||||
}
|
||||
return FAILED;
|
||||
}
|
||||
case EAP_SUCCESS:
|
||||
{
|
||||
eap_type_t type;
|
||||
|
|
Loading…
Reference in New Issue