Skip to content

Commit 9bf7e6c

Browse files
Revert parts to a list
1 parent 73146a8 commit 9bf7e6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_ssl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4055,7 +4055,7 @@ def supports_dhe(ctx) -> bool:
40554055
chatty=True, connectionchatty=True,
40564056
sni_name=hostname)
40574057
cipher = stats["cipher"][0]
4058-
parts = set(cipher.split("-"))
4058+
parts = cipher.split("-")
40594059
if not dhe_aliases.intersection(parts):
40604060
self.fail("Non-DH key exchange: " + cipher[0])
40614061

0 commit comments

Comments
 (0)