Skip to content

Commit

Permalink
add SSL_OP_LEGACY_SERVER_CONNECT binding
Browse files Browse the repository at this point in the history
This is useful to expose in pyOpenSSL so that it can be referenced downstream for `Context.set_options`. (mitmproxy/mitmproxy#6281)
  • Loading branch information
mhils authored Jul 27, 2023
1 parent 0d213f3 commit 299b904
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/_cffi_src/openssl/ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 299b904

Please sign in to comment.