]> git.ipfire.org Git - thirdparty/hostap.git/commit
SAE: Only allow SAE AKMP for PMKSA caching attempts
authorJouni Malinen <j@w1.fi>
Sun, 8 Apr 2018 17:06:40 +0000 (20:06 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 9 Apr 2018 16:34:44 +0000 (19:34 +0300)
commit852b2f2738178f90b95c886176faf75ef301a296
tree2e3db7fa4810c374834fcb0f911672f95603bc4c
parent06b1a1043427778b82374fc63e540a264e12d82d
SAE: Only allow SAE AKMP for PMKSA caching attempts

Explicitly check the PMKSA cache entry to have matching SAE AKMP for the
case where determining whether to use PMKSA caching instead of new SAE
authentication. Previously, only the network context was checked, but a
single network configuration profile could be used with both WPA2-PSK
and SAE, so should check the AKMP as well.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/rsn_supp/pmksa_cache.c
src/rsn_supp/pmksa_cache.h
src/rsn_supp/preauth.c
src/rsn_supp/wpa.c
wpa_supplicant/events.c
wpa_supplicant/preauth_test.c
wpa_supplicant/sme.c
wpa_supplicant/wpa_supplicant.c