aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_server/eap_server_aka.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-09-29 15:39:14 (GMT)
committerJouni Malinen <j@w1.fi>2013-09-29 15:39:14 (GMT)
commit2b5b875f3403cc1d5d571e8ffe10dcba194eaf90 (patch)
treedffae5b9594b8698502a09ee963b7e28e76e29c7 /src/eap_server/eap_server_aka.c
parent9a50ee6d25f1bc11207fab4752ce5560023d5921 (diff)
downloadhostap-2b5b875f3403cc1d5d571e8ffe10dcba194eaf90.zip
hostap-2b5b875f3403cc1d5d571e8ffe10dcba194eaf90.tar.gz
hostap-2b5b875f3403cc1d5d571e8ffe10dcba194eaf90.tar.bz2
EAP-AKA server: Fix AUTS processing
Commit 8a9f58f2cca92e5e362809ae4a531a4676c29888 ("EAP-AKA server: Store permanent username in session data") broke AUTS processing by skipping new authentication triplet fetch after having reported AUTS. Fix this by started new full authentication sequence immediately after reporting AUTS so that the updated parameters are available for the Challenge message. 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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eap_server/eap_server_aka.c b/src/eap_server/eap_server_aka.c
index 469b9a0..46fc458 100644
--- a/src/eap_server/eap_server_aka.c
+++ b/src/eap_server/eap_server_aka.c
@@ -1040,6 +1040,7 @@ static void eap_aka_process_sync_failure(struct eap_sm *sm,
data->auts_reported = 1;
/* Remain in CHALLENGE state to re-try after resynchronization */
+ eap_aka_fullauth(sm, data);
}