From ae301fd37a18c9b68f940bfee9f38540608313f4 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 15 Apr 2022 13:43:30 +0300 Subject: [PATCH] tests: Skip sigma_dut_suite_b_rsa DHE case with BoringSSL BoringSSL is known not to support this option, so skip it to allow rest of the test case to be performed without known failures. Signed-off-by: Jouni Malinen --- tests/hwsim/test_sigma_dut.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/hwsim/test_sigma_dut.py b/tests/hwsim/test_sigma_dut.py index 06b47485b..58be761ce 100644 --- a/tests/hwsim/test_sigma_dut.py +++ b/tests/hwsim/test_sigma_dut.py @@ -807,8 +807,10 @@ def test_sigma_dut_suite_b_rsa(dev, apdev, params): try: tests = ["", - ",TLSCipher,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", - ",TLSCipher,TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"] + ",TLSCipher,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"] + tls = dev[0].request("GET tls_library") + if "run=BoringSSL" not in tls: + tests += [",TLSCipher,TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"] for extra in tests: sigma_dut_cmd_check("sta_reset_default,interface,%s,prog,PMF" % ifname) sigma_dut_cmd_check("sta_set_ip_config,interface,%s,dhcp,0,ip,127.0.0.11,mask,255.255.255.0" % ifname) -- 2.47.2