From cfd41c2d56fb04c66899d0d787e9ed7ef979a21b Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 14 Dec 2016 15:12:12 -0500 Subject: restore this constant, pyopenssl needs it (#3321) --- src/_cffi_src/openssl/ssl.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/_cffi_src/openssl/ssl.py') 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 *, -- cgit v1.2.3