tests: Ignore openssl_cipher_suite_config_hapd failure (OpenSSL 1.1.1)

It looks like OpenSSL 1.1.1 accepted the openssl_ciphers=FOO test
configuration or well, at least does not reject it like previous
versions did. For now, ignore this failure.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2018-05-01 22:02:19 +03:00
parent 53b34578f3
commit 0d34c13a72

View file

@ -5029,7 +5029,10 @@ def test_openssl_cipher_suite_config_hapd(dev, apdev):
params['openssl_ciphers'] = "FOO"
hapd2 = hostapd.add_ap(apdev[1], params, no_enable=True)
if "FAIL" not in hapd2.request("ENABLE"):
raise Exception("Invalid openssl_ciphers value accepted")
if "run=OpenSSL 1.1.1" in tls:
logger.info("Ignore acceptance of an invalid openssl_ciphers value with OpenSSL 1.1.1")
else:
raise Exception("Invalid openssl_ciphers value accepted")
def test_wpa2_eap_ttls_pap_key_lifetime_in_memory(dev, apdev, params):
"""Key lifetime in memory with WPA2-Enterprise using EAP-TTLS/PAP"""