]> git.ipfire.org Git - thirdparty/hostap.git/commit
wlantest: Update PTK after rekeying even if EAPOL-Key msg 4/4 is missing
authorJouni Malinen <jouni@codeaurora.org>
Wed, 1 Apr 2020 15:46:14 +0000 (18:46 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 1 Apr 2020 15:46:14 +0000 (18:46 +0300)
commit08ac6f807d09faa965d6f5fdaab783197ac3e85d
tree8d025ca7289e02f1b42c04bb596a402d4394aaa5
parent0dc58cfa956c0bcfd16021d3ad5144c6b6c29aaa
wlantest: Update PTK after rekeying even if EAPOL-Key msg 4/4 is missing

Update TPTK to PTK if a valid EAPOL-Key msg 2/4 and 3/4 are available,
but 4/4 is missing. This avoids certain cases where the new TK could be
derived, but it was not being used to try to decrypt following encrypted
frames.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
wlantest/rx_data.c