Skip to content

Commit

Permalink
Removed check that is redundant with higher version of cryptography
Browse files Browse the repository at this point in the history
  • Loading branch information
julianz- authored Jan 28, 2024
1 parent 23e9e11 commit 2e91054
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/OpenSSL/SSL.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,8 @@
except AttributeError:
pass

try:
OP_LEGACY_SERVER_CONNECT = _lib.SSL_OP_LEGACY_SERVER_CONNECT
__all__.append("OP_LEGACY_SERVER_CONNECT")
except AttributeError:
pass
OP_LEGACY_SERVER_CONNECT = _lib.SSL_OP_LEGACY_SERVER_CONNECT
__all__.append("OP_LEGACY_SERVER_CONNECT")

OP_ALL = _lib.SSL_OP_ALL

Expand Down

0 comments on commit 2e91054

Please sign in to comment.