mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-30 08:44:03 -05:00
tests: RSN pre-authentication failure to add a PMKSA entry
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
21fda4ee72
commit
c7c964cd46
@ -738,8 +738,10 @@ def _test_pmksa_cache_preauth_oom(dev, apdev):
|
|||||||
|
|
||||||
tests = [ (1, "rsn_preauth_receive"),
|
tests = [ (1, "rsn_preauth_receive"),
|
||||||
(2, "rsn_preauth_receive"),
|
(2, "rsn_preauth_receive"),
|
||||||
(1, "rsn_preauth_send") ]
|
(1, "rsn_preauth_send"),
|
||||||
|
(1, "wpa_auth_pmksa_add_preauth;rsn_preauth_finished") ]
|
||||||
for test in tests:
|
for test in tests:
|
||||||
|
hapd.request("DEAUTHENTICATE ff:ff:ff:ff:ff:ff")
|
||||||
with alloc_fail(hapd, test[0], test[1]):
|
with alloc_fail(hapd, test[0], test[1]):
|
||||||
dev[0].scan_for_bss(bssid1, freq="2412")
|
dev[0].scan_for_bss(bssid1, freq="2412")
|
||||||
if "OK" not in dev[0].request("PREAUTH " + bssid1):
|
if "OK" not in dev[0].request("PREAUTH " + bssid1):
|
||||||
|
Loading…
Reference in New Issue
Block a user