From e87e6f609bb113a3847fc1f8c346869bb907885f Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 28 May 2019 00:01:01 +0300 Subject: [PATCH] tests: Fix EAP-FAST protocol testing with newer OpenSSL and pyOpenSSL Need to drop OpenSSL security level to 0 for ADH-AES128-SHA to work with the latest library version. Signed-off-by: Jouni Malinen --- tests/hwsim/test_eap_proto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_eap_proto.py b/tests/hwsim/test_eap_proto.py index 20f6e3fde..db30594eb 100644 --- a/tests/hwsim/test_eap_proto.py +++ b/tests/hwsim/test_eap_proto.py @@ -10110,7 +10110,7 @@ def run_eap_fast_phase2(dev, test_payload, test_failure=True): ctx['sslctx'] = OpenSSL.SSL.Context(OpenSSL.SSL.TLSv1_METHOD) ctx['sslctx'].set_info_callback(ssl_info_callback) ctx['sslctx'].load_tmp_dh("auth_serv/dh.conf") - ctx['sslctx'].set_cipher_list("ADH-AES128-SHA") + ctx['sslctx'].set_cipher_list("ADH-AES128-SHA:@SECLEVEL=0") ctx['conn'] = OpenSSL.SSL.Connection(ctx['sslctx'], None) ctx['conn'].set_accept_state() log_conn_state(ctx['conn'])