summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordreid <dreid@users.noreply.github.com>2022-06-09 10:58:38 -0700
committerGitHub <noreply@github.com>2022-06-09 13:58:38 -0400
commitbd023272a93f600b0d7b666e15c01843ddb2f6d8 (patch)
treefed0a738628463c695fa4b1e823c62a87462c638
parenta4140bb555e45764739aff997e35a488a4913ba7 (diff)
downloadpyopenssl-bd023272a93f600b0d7b666e15c01843ddb2f6d8.tar.gz
Expose SSL_OP_IGNORE_UNEXPECTED_EOF (#1127)
This was added to pyca/cryptography at https://github.com/pyca/cryptography/commit/0fe4583d40b0a99feecc1dc33f96fa15002b443f
-rw-r--r--src/OpenSSL/SSL.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/OpenSSL/SSL.py b/src/OpenSSL/SSL.py
index f470460..154cde9 100644
--- a/src/OpenSSL/SSL.py
+++ b/src/OpenSSL/SSL.py
@@ -80,6 +80,7 @@ __all__ = [
"OP_COOKIE_EXCHANGE",
"OP_NO_TICKET",
"OP_NO_RENEGOTIATION",
+ "OP_IGNORE_UNEXPECTED_EOF",
"OP_ALL",
"VERIFY_PEER",
"VERIFY_FAIL_IF_NO_PEER_CERT",
@@ -205,6 +206,11 @@ try:
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