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

index 06b47485b3b40ce2eb188a90446d7c779f72fc5e..58be761ce0da964ed834daa7665c8a753df59105 100644 (file)
@@ -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)