mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
Fixed EAP-AKA build in case EAP-AKA' is disabled
This commit is contained in:
parent
22a299ee9d
commit
ac5953db66
@ -888,6 +888,7 @@ static void eap_aka_process_challenge(struct eap_sm *sm,
|
||||
}
|
||||
if (data->next_reauth_id) {
|
||||
if (data->eap_method == EAP_TYPE_AKA_PRIME) {
|
||||
#ifdef EAP_AKA_PRIME
|
||||
eap_sim_db_add_reauth_prime(sm->eap_sim_db_priv,
|
||||
identity,
|
||||
identity_len,
|
||||
@ -895,6 +896,7 @@ static void eap_aka_process_challenge(struct eap_sm *sm,
|
||||
data->counter + 1,
|
||||
data->k_encr, data->k_aut,
|
||||
data->k_re);
|
||||
#endif /* EAP_AKA_PRIME */
|
||||
} else {
|
||||
eap_sim_db_add_reauth(sm->eap_sim_db_priv, identity,
|
||||
identity_len,
|
||||
@ -1025,6 +1027,7 @@ static void eap_aka_process_reauth(struct eap_sm *sm,
|
||||
}
|
||||
if (data->next_reauth_id) {
|
||||
if (data->eap_method == EAP_TYPE_AKA_PRIME) {
|
||||
#ifdef EAP_AKA_PRIME
|
||||
eap_sim_db_add_reauth_prime(sm->eap_sim_db_priv,
|
||||
identity,
|
||||
identity_len,
|
||||
@ -1032,6 +1035,7 @@ static void eap_aka_process_reauth(struct eap_sm *sm,
|
||||
data->counter + 1,
|
||||
data->k_encr, data->k_aut,
|
||||
data->k_re);
|
||||
#endif /* EAP_AKA_PRIME */
|
||||
} else {
|
||||
eap_sim_db_add_reauth(sm->eap_sim_db_priv, identity,
|
||||
identity_len,
|
||||
|
Loading…
Reference in New Issue
Block a user