mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-21 03:23:04 -05:00
EAP-FAST: Include Tunnel PAC request only after EAP authentication
This commit is contained in:
parent
581a8cde77
commit
39452b4deb
@ -1194,7 +1194,9 @@ static int eap_fast_process_decrypted(struct eap_sm *sm,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (data->current_pac == NULL && data->provisioning &&
|
if (data->current_pac == NULL && data->provisioning &&
|
||||||
!data->anon_provisioning && !tlv.pac) {
|
!data->anon_provisioning && !tlv.pac &&
|
||||||
|
(tlv.iresult == EAP_TLV_RESULT_SUCCESS ||
|
||||||
|
tlv.result == EAP_TLV_RESULT_SUCCESS)) {
|
||||||
/*
|
/*
|
||||||
* Need to request Tunnel PAC when using authenticated
|
* Need to request Tunnel PAC when using authenticated
|
||||||
* provisioning.
|
* provisioning.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user