From: Jouni Malinen Date: Tue, 1 May 2018 19:06:43 +0000 (+0300) Subject: tests: Add TLS v1.3 into ap_wpa2_eap_tls_versions X-Git-Tag: hostap_2_7~372 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=832b736fb23520e63e9ee967e3938766b18d9a61;p=thirdparty%2Fhostap.git 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 --- 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"""