We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8eaec6 commit 28eb87fCopy full SHA for 28eb87f
1 file changed
Lib/test/test_ssl.py
@@ -2860,6 +2860,9 @@ def test_default_ecdh_curve(self):
2860
# should be enabled by default on SSL contexts.
2861
context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
2862
context.load_cert_chain(CERTFILE)
2863
+ # TLSv1.3 defaults to PFS key agreement and no longer has KEA in
2864
+ # cipher name.
2865
+ context.options |= ssl.OP_NO_TLSv1_3
2866
# Prior to OpenSSL 1.0.0, ECDH ciphers have to be enabled
2867
# explicitly using the 'ECCdraft' cipher alias. Otherwise,
2868
# our default cipher list should prefer ECDH-based ciphers
0 commit comments