tests: Skip sae_pwe_group_25 with BoringSSL

BoringSSL does not support this 192-bit EC group, so do not try to run
the test case that is known to fail.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2022-04-15 13:36:35 +03:00
parent feed2f9e75
commit 26dd47f1d1

View file

@ -2114,6 +2114,8 @@ def start_sae_pwe_ap(apdev, group, sae_pwe):
def run_sae_pwe_group(dev, apdev, group):
check_sae_capab(dev[0])
tls = dev[0].request("GET tls_library")
if group == 25 and "run=BoringSSL" in tls:
raise HwsimSkip("Group 15 not supported")
if group in [27, 28, 29, 30]:
if tls.startswith("OpenSSL") and ("run=OpenSSL 1." in tls or "run=OpenSSL 3." in tls):
logger.info("Add Brainpool EC groups since OpenSSL is new enough")