Skip to content

Commit

Permalink
Update distributed/security.py
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert committed Jun 10, 2022
1 parent 991c726 commit bfbe501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distributed/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def _create_default_context(
context.maximum_version = maximum_version
return context

else:
elif ssl is not None:
_min_version = {
None: 0,
ssl.TLSVersion.MINIMUM_SUPPORTED: ~ssl.OP_NO_SSLv2 | ~ssl.OP_NO_SSLv3,
Expand Down

0 comments on commit bfbe501

Please sign in to comment.