From 12a8ae317bedee81aaa7c58e1263b519680794e8 Mon Sep 17 00:00:00 2001 From: James Mayclin Date: Mon, 6 Nov 2023 13:22:42 -0800 Subject: [PATCH] ci: add additional p-384 test coverage (#4275) --- tests/integrationv2/providers.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/tests/integrationv2/providers.py b/tests/integrationv2/providers.py index a9ab6f49194..2dbe5e21af2 100644 --- a/tests/integrationv2/providers.py +++ b/tests/integrationv2/providers.py @@ -472,21 +472,6 @@ def supports_protocol(cls, protocol, with_cert=None): @classmethod def supports_cipher(cls, cipher, with_curve=None): - if "openssl-1.0.2" in get_flag(S2N_PROVIDER_VERSION) and with_curve is not None: - invalid_ciphers = [ - Ciphers.ECDHE_RSA_AES128_SHA, - Ciphers.ECDHE_RSA_AES256_SHA, - Ciphers.ECDHE_RSA_AES128_SHA256, - Ciphers.ECDHE_RSA_AES256_SHA384, - Ciphers.ECDHE_RSA_AES128_GCM_SHA256, - Ciphers.ECDHE_RSA_AES256_GCM_SHA384, - ] - - # OpenSSL 1.0.2 and 1.0.2-FIPS can't find a shared cipher with S2N - # when P-384 is used, but I can't find any reason why. - if with_curve is Curves.P384 and cipher in invalid_ciphers: - return False - return True def _is_openssl_11(self) -> None: