]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
EAP-AKA server: Fix AUTS processing
authorJouni Malinen <j@w1.fi>
Sun, 29 Sep 2013 15:39:14 +0000 (18:39 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 29 Sep 2013 15:39:14 +0000 (18:39 +0300)
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>

src/eap_server/eap_server_aka.c

index 469b9a0fa653869cef4111e87455ba7aa44d3dbd..46fc45847f8bd6882728c6c43624ad36de64f2aa 100644 (file)
@@ -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);
 }