mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
EAP-AKA server: Remove unnecessary protocol version check
This validation is done automatically as part of the prefix value use in the username. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
3e43a8ec4f
commit
60123b6430
@ -641,14 +641,6 @@ static void eap_aka_determine_identity(struct eap_sm *sm,
|
||||
data->reauth = eap_sim_db_get_reauth_entry(
|
||||
sm->eap_sim_db_priv, username);
|
||||
os_free(username);
|
||||
if (data->reauth &&
|
||||
(data->reauth->reauth_id[0] ==
|
||||
EAP_AKA_PRIME_REAUTH_ID_PREFIX) !=
|
||||
(data->eap_method == EAP_TYPE_AKA_PRIME)) {
|
||||
wpa_printf(MSG_DEBUG, "EAP-AKA: Reauth data "
|
||||
"was for different AKA version");
|
||||
data->reauth = NULL;
|
||||
}
|
||||
if (data->reauth == NULL) {
|
||||
wpa_printf(MSG_DEBUG, "EAP-AKA: Unknown reauth "
|
||||
"identity - request full auth identity");
|
||||
|
Loading…
Reference in New Issue
Block a user