Parcourir la source

tests: Skip OCSP test cases with the internal TLS implementation

The internal TLS client implementation does not yet support OCSP.

Signed-off-by: Jouni Malinen <j@w1.fi>
Jouni Malinen il y a 9 ans
Parent
commit
bb0a72ab46
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      tests/hwsim/test_ap_eap.py

+ 2 - 0
tests/hwsim/test_ap_eap.py

@@ -52,6 +52,8 @@ def check_cert_probe_support(dev):
 
 def check_ocsp_support(dev):
     tls = dev.request("GET tls_library")
+    if tls.startswith("internal"):
+        raise HwsimSkip("OCSP not supported with this TLS library: " + tls)
     #if "BoringSSL" in tls:
     #    raise HwsimSkip("OCSP not supported with this TLS library: " + tls)