tests: Skip OCSP test cases with the internal TLS implementation
authorJouni Malinen <j@w1.fi>
Sun, 29 Nov 2015 17:32:45 +0000 (19:32 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 29 Nov 2015 17:32:45 +0000 (19:32 +0200)
The internal TLS client implementation does not yet support OCSP.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_eap.py

index 16d111f..246a03c 100644 (file)
@@ -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)