]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Enable additional TLS test cases with wolfSSL
authorJuliusz Sosinowicz <juliusz@wolfssl.com>
Mon, 25 Apr 2022 14:18:49 +0000 (16:18 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 1 May 2022 14:27:11 +0000 (17:27 +0300)
Signed-off-by: Juliusz Sosinowicz <juliusz@wolfssl.com>
tests/hwsim/test_ap_eap.py
tests/hwsim/test_suite_b.py

index e31770e5e62f5eee551fbb45560f0e0c7043ffde..69c6ec53e3e287dc6d4e4beb784a90d610e7e92a 100644 (file)
@@ -89,8 +89,8 @@ def check_ocsp_support(dev):
     #    raise HwsimSkip("OCSP not supported with this TLS library: " + tls)
     #if "BoringSSL" in tls:
     #    raise HwsimSkip("OCSP not supported with this TLS library: " + tls)
-    if tls.startswith("wolfSSL"):
-        raise HwsimSkip("OCSP not supported with this TLS library: " + tls)
+    #if tls.startswith("wolfSSL"):
+    #    raise HwsimSkip("OCSP not supported with this TLS library: " + tls)
 
 def check_pkcs5_v15_support(dev):
     tls = dev.request("GET tls_library")
@@ -99,7 +99,7 @@ def check_pkcs5_v15_support(dev):
 
 def check_tls13_support(dev):
     tls = dev.request("GET tls_library")
-    if "run=OpenSSL 1.1.1" not in tls and "run=OpenSSL 3.0" not in tls:
+    if "run=OpenSSL 1.1.1" not in tls and "run=OpenSSL 3.0" not in tls and "wolfSSL" not in tls:
         raise HwsimSkip("TLS v1.3 not supported")
 
 def check_ocsp_multi_support(dev):
index 2b3c30fc19804c3a75c14e038c382212a72e357e..f3b6be50cdafd34e9a156f4df946999a3216ef29 100644 (file)
@@ -24,6 +24,8 @@ def check_suite_b_tls_lib(dev, dhe=False, level128=False):
     tls = dev[0].request("GET tls_library")
     if tls.startswith("GnuTLS"):
         return
+    if tls.startswith("wolfSSL"):
+        return
     if not tls.startswith("OpenSSL"):
         raise HwsimSkip("TLS library not supported for Suite B: " + tls)
     supported = False