diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2016-12-14 15:12:12 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-12-14 14:12:12 -0600 |
commit | cfd41c2d56fb04c66899d0d787e9ed7ef979a21b (patch) | |
tree | 67547da423d0f403e18629db41905d9b073c4b26 /src/_cffi_src/openssl | |
parent | 0e8cdf1023f6e2045de444b1c7e09f40cccf019e (diff) | |
download | cryptography-cfd41c2d56fb04c66899d0d787e9ed7ef979a21b.tar.gz cryptography-cfd41c2d56fb04c66899d0d787e9ed7ef979a21b.tar.bz2 cryptography-cfd41c2d56fb04c66899d0d787e9ed7ef979a21b.zip |
restore this constant, pyopenssl needs it (#3321)
Diffstat (limited to 'src/_cffi_src/openssl')
-rw-r--r-- | src/_cffi_src/openssl/ssl.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/ssl.py b/src/_cffi_src/openssl/ssl.py index 12af346c..6fdc2015 100644 --- a/src/_cffi_src/openssl/ssl.py +++ b/src/_cffi_src/openssl/ssl.py @@ -44,6 +44,7 @@ static const long Cryptography_HAS_SSL_SET_SSL_CTX; static const long Cryptography_HAS_SSL_OP_NO_TICKET; static const long Cryptography_HAS_NETBSD_D1_METH; static const long Cryptography_HAS_ALPN; +static const long Cryptography_HAS_NEXTPROTONEG; static const long Cryptography_HAS_SET_CERT_CB; static const long SSL_FILETYPE_PEM; @@ -578,6 +579,8 @@ static const long Cryptography_HAS_NETBSD_D1_METH = 1; static const long Cryptography_HAS_NETBSD_D1_METH = 1; #endif +static const long Cryptography_HAS_NEXTPROTONEG = 1; + /* ALPN was added in OpenSSL 1.0.2. */ #if CRYPTOGRAPHY_OPENSSL_LESS_THAN_102 && !defined(LIBRESSL_VERSION_NUMBER) int (*SSL_CTX_set_alpn_protos)(SSL_CTX *, |