]> git.ipfire.org Git - thirdparty/hostap.git/commit
Reject PMK-to-PTK derivation with unsupported cipher
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 14 Nov 2017 10:50:30 +0000 (12:50 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 14 Nov 2017 10:50:30 +0000 (12:50 +0200)
commit1d624a0702288b2448191e15ad85a2d8b25dacd9
treeb915eaa941a2e2845551d5ce4ebac265e1f39054
parent71db91db962ae8791bee25a2f15426b5edb22a4c
Reject PMK-to-PTK derivation with unsupported cipher

There should be no wpa_pmk_to_ptk() calls with the cipher argument
indicating a cipher that is not allowed as a pairwise cipher. However,
it looks like that was possible to happen with wlantest. Check for this
corner case explicitly to avoid generating confusing debug logs.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/common/wpa_common.c