diff options
| author | Rosen Penev <rosenp@gmail.com> | 2019-07-02 11:13:32 -0700 |
|---|---|---|
| committer | Rosen Penev <rosenp@gmail.com> | 2019-07-02 11:36:18 -0700 |
| commit | 08599312d4cfc75cfce3bf9b3026a8eb9695a0e4 (patch) | |
| tree | 679641e6a17ea66323b7e130e6f9310b92ca970a /lang/python/python-cryptography/patches/030-remove-npn.patch | |
| parent | aa8685e025a0d2cd0864246e656abfd857f09031 (diff) | |
python-cryptography: Remove NPN
Upstream backport. It seems the holdup is on python-twisted.
Without this, it fails with
SSL_get0_next_proto_negotiated: symbol not found
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'lang/python/python-cryptography/patches/030-remove-npn.patch')
| -rw-r--r-- | lang/python/python-cryptography/patches/030-remove-npn.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lang/python/python-cryptography/patches/030-remove-npn.patch b/lang/python/python-cryptography/patches/030-remove-npn.patch new file mode 100644 index 000000000..69aeb436e --- /dev/null +++ b/lang/python/python-cryptography/patches/030-remove-npn.patch @@ -0,0 +1,22 @@ +From b0b50b6bbbdf3abadc70b64c56e25b872721a7f3 Mon Sep 17 00:00:00 2001 +From: Paul Kehrer <paul.l.kehrer@gmail.com> +Date: Mon, 25 Feb 2019 11:12:10 +0800 +Subject: [PATCH] remove another NPN related definition + +--- + src/_cffi_src/openssl/ssl.py | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/src/_cffi_src/openssl/ssl.py b/src/_cffi_src/openssl/ssl.py +index e3a7790ee1..f98f576838 100644 +--- a/src/_cffi_src/openssl/ssl.py ++++ b/src/_cffi_src/openssl/ssl.py +@@ -139,8 +139,6 @@ + static const long TLS_ST_BEFORE; + static const long TLS_ST_OK; + +-static const long OPENSSL_NPN_NEGOTIATED; +- + typedef ... SSL_METHOD; + typedef ... SSL_CTX; + |
