diff --git a/src/OpenSSL/SSL.py b/src/OpenSSL/SSL.py index efbf7907e..d73542525 100644 --- a/src/OpenSSL/SSL.py +++ b/src/OpenSSL/SSL.py @@ -83,6 +83,8 @@ "OP_NO_QUERY_MTU", "OP_COOKIE_EXCHANGE", "OP_NO_TICKET", + "OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION", + "OP_LEGACY_SERVER_CONNECT", "OP_ALL", "VERIFY_PEER", "VERIFY_FAIL_IF_NO_PEER_CERT", @@ -210,6 +212,11 @@ except AttributeError: pass +OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION = ( + _lib.SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION +) +OP_LEGACY_SERVER_CONNECT = _lib.SSL_OP_LEGACY_SERVER_CONNECT + try: OP_IGNORE_UNEXPECTED_EOF = _lib.SSL_OP_IGNORE_UNEXPECTED_EOF __all__.append("OP_IGNORE_UNEXPECTED_EOF")