Skip to content

Commit

Permalink
Update src/twisted/internet/endpoints.py
Browse files Browse the repository at this point in the history
Co-authored-by: Glyph <code@glyph.im>
  • Loading branch information
KaviHarjani and glyph committed Apr 25, 2024
1 parent 692e540 commit 7796194
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/twisted/internet/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -1472,8 +1472,8 @@ def _parseSSL(
)

if cipher:
cipher_bytes = cipher.replace(",", ":").encode("ascii")
cf.getContext().set_cipher_list(cipher_bytes)
cipherBytes = cipher.replace(",", ":").encode("ascii")
cf.getContext().set_cipher_list(cipherBytes)
return ((int(port), factory, cf), {"interface": interface, "backlog": int(backlog)})


Expand Down

0 comments on commit 7796194

Please sign in to comment.