mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-18 19:04:02 -05:00
tests: Make sae_anti_clogging_during_attack more robust
Accept a smaller number of token responses in second round to avoid failing this test case as frequently. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
53b4f0fe6a
commit
a1983aa72c
@ -1505,7 +1505,7 @@ def run_sae_anti_clogging_during_attack(dev, apdev):
|
||||
count += 1
|
||||
if count == 10:
|
||||
break
|
||||
if count < 10:
|
||||
if count < 5:
|
||||
raise Exception("Too few token responses in second round: %d" % count)
|
||||
|
||||
dev[0].connect("test-sae", psk="12345678", key_mgmt="SAE",
|
||||
|
Loading…
Reference in New Issue
Block a user