]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Skip fils_sk_pfs_25 with BoringSSL
authorJouni Malinen <j@w1.fi>
Sat, 18 Nov 2017 11:55:41 +0000 (13:55 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 18 Nov 2017 15:50:08 +0000 (17:50 +0200)
It looks like BoringSSL has dropped support for group 25 (192-bit Random
ECP Group).

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_fils.py

index d44bed86a6da8127ebbd3e23de9ad4fdb1d6f376..7399e58209b73c1bb46c6126e954efa29102c307 100644 (file)
@@ -1369,6 +1369,9 @@ def run_fils_sk_pfs(dev, apdev, group, params):
     check_erp_capa(dev[0])
 
     tls = dev[0].request("GET tls_library")
+    if int(group) in [ 25 ]:
+        if not (tls.startswith("OpenSSL") and ("build=OpenSSL 1.0.2" in tls or "build=OpenSSL 1.1" in tls) and ("run=OpenSSL 1.0.2" in tls or "run=OpenSSL 1.1" in tls)):
+            raise HwsimSkip("EC group not supported")
     if int(group) in [ 27, 28, 29, 30 ]:
         if not (tls.startswith("OpenSSL") and ("build=OpenSSL 1.0.2" in tls or "build=OpenSSL 1.1" in tls) and ("run=OpenSSL 1.0.2" in tls or "run=OpenSSL 1.1" in tls)):
             raise HwsimSkip("Brainpool EC group not supported")