mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
tests: Brainpool curves in ap_wpa2_eap_pwd_groups with OpenSSL 1.1.x
The OpenSSL version check should not have been limited to 1.0.2 only. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
9973129646
commit
6bf7a54754
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user