Skip to content

Commit

Permalink
Expose SSL_OP_IGNORE_UNEXPECTED_EOF (#1127)
Browse files Browse the repository at this point in the history
This was added to pyca/cryptography at pyca/cryptography@0fe4583
  • Loading branch information
dreid authored Jun 9, 2022
1 parent a4140bb commit bd02327
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 @@ -80,6 +80,7 @@
"OP_COOKIE_EXCHANGE",
"OP_NO_TICKET",
"OP_NO_RENEGOTIATION",
"OP_IGNORE_UNEXPECTED_EOF",
"OP_ALL",
"VERIFY_PEER",
"VERIFY_FAIL_IF_NO_PEER_CERT",
Expand Down Expand Up @@ -205,6 +206,11 @@
except AttributeError:
pass

try:
OP_IGNORE_UNEXPECTED_EOF = _lib.SSL_OP_IGNORE_UNEXPECTED_EOF
except AttributeError:
pass

OP_ALL = _lib.SSL_OP_ALL

VERIFY_PEER = _lib.SSL_VERIFY_PEER
Expand Down

0 comments on commit bd02327

Please sign in to comment.