From 832b736fb23520e63e9ee967e3938766b18d9a61 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 1 May 2018 22:06:43 +0300 Subject: [PATCH] tests: Add TLS v1.3 into ap_wpa2_eap_tls_versions When running with OpenSSL 1.1.1, verify that EAP-TLS can be used with TLS v1.3. 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 6842ad36e..12ff37f87 100644 --- a/tests/hwsim/test_ap_eap.py +++ b/tests/hwsim/test_ap_eap.py @@ -5352,6 +5352,9 @@ def test_ap_wpa2_eap_tls_versions(dev, apdev): "tls_disable_tlsv1_0=1 tls_disable_tlsv1_2=1", "TLSv1.1") check_tls_ver(dev[2], hapd, "tls_disable_tlsv1_1=1 tls_disable_tlsv1_2=1", "TLSv1") + if "run=OpenSSL 1.1.1" in tls: + check_tls_ver(dev[0], hapd, + "tls_disable_tlsv1_0=1 tls_disable_tlsv1_1=1 tls_disable_tlsv1_2=1 tls_disable_tlsv1_3=0", "TLSv1.3") def test_rsn_ie_proto_eap_sta(dev, apdev): """RSN element protocol testing for EAP cases on STA side"""