Skip to content

Commit

Permalink
Expose SSL_OP_LEGACY_SERVER_CONNECT binding
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils authored Jul 27, 2023
1 parent a81306e commit 30792ed
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/OpenSSL/SSL.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,12 @@
except AttributeError:
pass

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

Check warning on line 222 in src/OpenSSL/SSL.py

View check run for this annotation

Codecov / codecov/patch

src/OpenSSL/SSL.py#L222

Added line #L222 was not covered by tests
except AttributeError:
pass

OP_ALL = _lib.SSL_OP_ALL

VERIFY_PEER = _lib.SSL_VERIFY_PEER
Expand Down

0 comments on commit 30792ed

Please sign in to comment.