From: Jouni Malinen Date: Mon, 30 Oct 2017 10:08:19 +0000 (+0200) Subject: tests: ap_wpa2_eap_tls_versions to test TLSv1.2 with OpenSSL 1.1 X-Git-Tag: hostap_2_7~934 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41d5af55440042cb56517c819318d287cbcd0918;p=thirdparty%2Fhostap.git tests: ap_wpa2_eap_tls_versions to test TLSv1.2 with OpenSSL 1.1 Change the test condition from "is OpenSSL 1.0.2" to "is not OpenSSL 1.0.1", so that the TLSv1.2 test step gets executed with OpenSSL 1.0.2 and 1.1 (and newer). Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_eap.py b/tests/hwsim/test_ap_eap.py index f04a7fc69..cf17b98be 100644 --- a/tests/hwsim/test_ap_eap.py +++ b/tests/hwsim/test_ap_eap.py @@ -5264,7 +5264,7 @@ def test_ap_wpa2_eap_tls_versions(dev, apdev): tls = dev[0].request("GET tls_library") if tls.startswith("OpenSSL"): - if "build=OpenSSL 1.0.2" in tls and "run=OpenSSL 1.0.2" in tls: + if "build=OpenSSL 1.0.1" not in tls and "run=OpenSSL 1.0.1" not in tls: check_tls_ver(dev[0], hapd, "tls_disable_tlsv1_0=1 tls_disable_tlsv1_1=1", "TLSv1.2")