From: Jouni Malinen Date: Sun, 13 Dec 2015 18:54:20 +0000 (+0200) Subject: tests: Run PKCS#12 tests with internal TLS crypto X-Git-Tag: hostap_2_6~1202 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16c43d2a8f630e45f0799e854f81de0f2a213873;p=thirdparty%2Fhostap.git tests: Run PKCS#12 tests with internal TLS crypto Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_eap.py b/tests/hwsim/test_ap_eap.py index 54054c7d8..c4a794eb5 100644 --- a/tests/hwsim/test_ap_eap.py +++ b/tests/hwsim/test_ap_eap.py @@ -80,8 +80,8 @@ def check_ocsp_support(dev): def check_pkcs12_support(dev): tls = dev.request("GET tls_library") - if tls.startswith("internal"): - raise HwsimSkip("PKCS#12 not supported with this TLS library: " + tls) + #if tls.startswith("internal"): + # raise HwsimSkip("PKCS#12 not supported with this TLS library: " + tls) def check_dh_dsa_support(dev): tls = dev.request("GET tls_library") @@ -2581,6 +2581,7 @@ def test_ap_wpa2_eap_fast_server_oom(dev, apdev): def test_ap_wpa2_eap_tls_ocsp(dev, apdev): """WPA2-Enterprise connection using EAP-TLS and verifying OCSP""" check_ocsp_support(dev[0]) + check_pkcs12_support(dev[0]) params = hostapd.wpa2_eap_params(ssid="test-wpa2-eap") hostapd.add_ap(apdev[0]['ifname'], params) eap_connect(dev[0], apdev[0], "TLS", "tls user", ca_cert="auth_serv/ca.pem",