From 8f0831573741854e33d1bf1c4ffc609afd693efb Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 18 Nov 2017 13:55:41 +0200 Subject: [PATCH] tests: Skip fils_sk_pfs_25 with BoringSSL It looks like BoringSSL has dropped support for group 25 (192-bit Random ECP Group). Signed-off-by: Jouni Malinen --- tests/hwsim/test_fils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/hwsim/test_fils.py b/tests/hwsim/test_fils.py index d44bed86a..7399e5820 100644 --- a/tests/hwsim/test_fils.py +++ b/tests/hwsim/test_fils.py @@ -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")