]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Skip sae_pwe_group_25 with BoringSSL
authorJouni Malinen <j@w1.fi>
Fri, 15 Apr 2022 10:36:35 +0000 (13:36 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 15 Apr 2022 10:36:35 +0000 (13:36 +0300)
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>
tests/hwsim/test_sae.py

index d5829760868372a4fb7f56d921993725db549c4d..276a4844369a7052327d68716a2a61e84763e70f 100644 (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")