]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Brainpool curves in ap_wpa2_eap_pwd_groups with OpenSSL 1.1.x
authorJouni Malinen <jouni@codeaurora.org>
Thu, 17 May 2018 19:03:25 +0000 (22:03 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 17 May 2018 19:03:25 +0000 (22:03 +0300)
The OpenSSL version check should not have been limited to 1.0.2 only.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/test_ap_eap.py

index 55abaa772afccb4b2209b53808e470cf313d10c9..5f06e2b05d180ba8d753a90b8f3d00338896181f 100644 (file)
@@ -2639,6 +2639,9 @@ def test_ap_wpa2_eap_pwd_groups(dev, apdev):
     if tls.startswith("OpenSSL") and "build=OpenSSL 1.0.2" in tls and "run=OpenSSL 1.0.2" in tls:
         logger.info("Add Brainpool EC groups since OpenSSL is new enough")
         groups += [ 27, 28, 29, 30 ]
+    if tls.startswith("OpenSSL") and "build=OpenSSL 1.1" in tls and "run=OpenSSL 1.1" in tls:
+        logger.info("Add Brainpool EC groups since OpenSSL is new enough")
+        groups += [ 27, 28, 29, 30 ]
     for i in groups:
         logger.info("Group %d" % i)
         params['pwd_group'] = str(i)