tests: Allow group 25 to fail in sae_groups if running with BoringSSL
It looks like NID_X9_62_prime192v1 is not available, so allow that group to fail without failing the full sae_groups test case. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
355a5c8ec5
commit
a68d17929b
1 changed files with 8 additions and 1 deletions
|
@ -159,7 +159,14 @@ def test_sae_groups(dev, apdev):
|
|||
continue
|
||||
logger.info("Connection with heavy SAE group " + g)
|
||||
else:
|
||||
dev[0].wait_connected(timeout=10, error="Connection timed out with group " + g)
|
||||
ev = dev[0].wait_event(["CTRL-EVENT-CONNECTED"], timeout=10)
|
||||
if ev is None:
|
||||
if "BoringSSL" in tls and int(g) in [ 25 ]:
|
||||
logger.info("Ignore connection failure with group " + g + " with BoringSSL")
|
||||
dev[0].remove_network(id)
|
||||
dev[0].dump_monitor()
|
||||
continue
|
||||
raise Exception("Connection timed out with group " + g)
|
||||
if dev[0].get_status_field('sae_group') != g:
|
||||
raise Exception("Expected SAE group not used")
|
||||
dev[0].remove_network(id)
|
||||
|
|
Loading…
Reference in a new issue