From bd023272a93f600b0d7b666e15c01843ddb2f6d8 Mon Sep 17 00:00:00 2001 From: dreid Date: Thu, 9 Jun 2022 10:58:38 -0700 Subject: Expose SSL_OP_IGNORE_UNEXPECTED_EOF (#1127) This was added to pyca/cryptography at https://github.com/pyca/cryptography/commit/0fe4583d40b0a99feecc1dc33f96fa15002b443f --- src/OpenSSL/SSL.py | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.1