Browse Source

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 <j@w1.fi>
Jouni Malinen 9 years ago
parent
commit
2286578fe0
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tests/hwsim/test_ap_eap.py

+ 3 - 0
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],