From 16c43d2a8f630e45f0799e854f81de0f2a213873 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 13 Dec 2015 20:54:20 +0200 Subject: [PATCH] tests: Run PKCS#12 tests with internal TLS crypto Signed-off-by: Jouni Malinen --- tests/hwsim/test_ap_eap.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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", -- 2.47.2