From 2286578fe01ab62424b4c6713a08fe1fb4dc9e04 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 29 Nov 2015 20:04:26 +0200 Subject: [PATCH] tests: TLS v1.2 check in ap_wpa2_eap_tls_versions for internal TLS The internal TLS implementation in wpa_supplicant supports TLS v1.2, so verify that this version can be disabled. Signed-off-by: Jouni Malinen --- tests/hwsim/test_ap_eap.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/hwsim/test_ap_eap.py b/tests/hwsim/test_ap_eap.py index 246a03cce..4c7cd9230 100644 --- a/tests/hwsim/test_ap_eap.py +++ b/tests/hwsim/test_ap_eap.py @@ -3599,6 +3599,9 @@ def test_ap_wpa2_eap_tls_versions(dev, apdev): check_tls_ver(dev[0], apdev[0], "tls_disable_tlsv1_0=1 tls_disable_tlsv1_1=1", "TLSv1.2") + elif tls.startswith("internal"): + check_tls_ver(dev[0], apdev[0], + "tls_disable_tlsv1_0=1 tls_disable_tlsv1_1=1", "TLSv1.2") check_tls_ver(dev[1], apdev[0], "tls_disable_tlsv1_0=1 tls_disable_tlsv1_2=1", "TLSv1.1") check_tls_ver(dev[2], apdev[0],