Skip to content

Commit d43586f

Browse files
authored
add SSL_OP_LEGACY_SERVER_CONNECT binding (#9303)
This is useful to expose in pyOpenSSL so that it can be referenced downstream for `Context.set_options`. (mitmproxy/mitmproxy#6281)
1 parent 0d213f3 commit d43586f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/_cffi_src/openssl/ssl.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
static const long SSL_OP_ALL;
7373
static const long SSL_OP_SINGLE_ECDH_USE;
7474
static const long SSL_OP_IGNORE_UNEXPECTED_EOF;
75+
static const long SSL_OP_LEGACY_SERVER_CONNECT;
7576
static const long SSL_VERIFY_PEER;
7677
static const long SSL_VERIFY_FAIL_IF_NO_PEER_CERT;
7778
static const long SSL_VERIFY_CLIENT_ONCE;

0 commit comments

Comments
 (0)