From 299b904965e3e212bf5467b9e714307f835cf8d4 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Thu, 27 Jul 2023 21:46:57 +0200 Subject: [PATCH] add `SSL_OP_LEGACY_SERVER_CONNECT` binding This is useful to expose in pyOpenSSL so that it can be referenced downstream for `Context.set_options`. (https://github.com/mitmproxy/mitmproxy/pull/6281) --- src/_cffi_src/openssl/ssl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/_cffi_src/openssl/ssl.py b/src/_cffi_src/openssl/ssl.py index dfab7f651341..73221219b83e 100644 --- a/src/_cffi_src/openssl/ssl.py +++ b/src/_cffi_src/openssl/ssl.py @@ -72,6 +72,7 @@ static const long SSL_OP_ALL; static const long SSL_OP_SINGLE_ECDH_USE; static const long SSL_OP_IGNORE_UNEXPECTED_EOF; +static const long SSL_OP_LEGACY_SERVER_CONNECT; static const long SSL_VERIFY_PEER; static const long SSL_VERIFY_FAIL_IF_NO_PEER_CERT; static const long SSL_VERIFY_CLIENT_ONCE;