]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Prepare for control interface message change
authorJouni Malinen <jouni@codeaurora.org>
Tue, 3 Nov 2020 19:08:52 +0000 (21:08 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 3 Nov 2020 19:10:01 +0000 (21:10 +0200)
Update ap_wpa2_psk_supp_proto_too_long_gtk_in_group_msg to accept
upcoming change in the parsing validation step that catches the issue.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/test_ap_psk.py

index e79380e90d96809b348d68bf66d867a20de34814..c4a8b9e2e849e1c07b9d1722b4420a557c9afed9 100644 (file)
@@ -2313,7 +2313,8 @@ def test_ap_wpa2_psk_supp_proto_too_long_gtk_in_group_msg(dev, apdev):
                               key_info=0x13c2)
     counter += 1
     send_eapol(dev[0], bssid, build_eapol(msg))
-    ev = dev[0].wait_event(["WPA: Unsupported CCMP Group Cipher key length 33"])
+    ev = dev[0].wait_event(["WPA: Unsupported CCMP Group Cipher key length 33",
+                            "RSN: Too long GTK in GTK KDE (len=33)"])
     if ev is None:
         raise Exception("Too long GTK KDE not reported")
     dev[0].wait_disconnected(timeout=1)