8000 gh-131050: Allow CPython test to handle TLS libraries lacking FFDHE ciphersuites by WillChilds-Klein · Pull Request #131051 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-131050: Allow CPython test to handle TLS libraries lacking FFDHE ciphersuites #131051

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Mar 29, 2025
Merged
Prev Previous commit
Next Next commit
Revert parts to a list
  • Loading branch information
WillChilds-Klein committed Mar 13, 2025
commit 9bf7e6c74b205b20721933d909f59042324ac78d
2 changes: 1 addition & 1 deletion Lib/test/test_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -4055,7 +4055,7 @@ def supports_dhe(ctx) -> bool:
chatty=True, connectionchatty=True,
sni_name=hostname)
cipher = stats["cipher"][0]
parts = set(cipher.split("-"))
parts = cipher.split("-")
if not dhe_aliases.intersection(parts):
self.fail("Non-DH key exchange: " + cipher[0])

Expand Down
Loading
0