Skip to content

Commit 4d21474

Browse files
committed
Added fips exception
1 parent 29e40db commit 4d21474

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/integrationv2/providers.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,11 @@ def supports_protocol(cls, protocol, with_cert=None):
163163
# e.g. "openssl-1.0" in "openssl-1.0.2-fips"
164164
if unsupported_lc in current_libcrypto:
165165
return False
166+
167+
# s2n-tls will not negotiate SSLv3 if in fips mode
168+
if protocol == Protocols.SSLv3 and get_flag(S2N_FIPS_MODE):
169+
return False
170+
166171
return True
167172

168173
@classmethod

0 commit comments

Comments
 (0)