aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_server/eap_server_aka.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-09-01 18:38:25 (GMT)
committerJouni Malinen <j@w1.fi>2012-09-01 18:38:25 (GMT)
commit60123b6430235529eb911a49b0e43ac3b6cbddf5 (patch)
treefd0987bdb4c56eb7fdf388b506946ed8bbe046ed /src/eap_server/eap_server_aka.c
parent3e43a8ec4fb1fcacacc63c4914006d7b54bb4fd3 (diff)
downloadhostap-60123b6430235529eb911a49b0e43ac3b6cbddf5.zip
hostap-60123b6430235529eb911a49b0e43ac3b6cbddf5.tar.gz
hostap-60123b6430235529eb911a49b0e43ac3b6cbddf5.tar.bz2
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>
Diffstat (limited to 'src/eap_server/eap_server_aka.c')
-rw-r--r--src/eap_server/eap_server_aka.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/eap_server/eap_server_aka.c b/src/eap_server/eap_server_aka.c
index 72753fc..628b0c8 100644
--- a/src/eap_server/eap_server_aka.c
+++ b/src/eap_server/eap_server_aka.c
@@ -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");