summaryrefslogtreecommitdiff
path: root/lang/python/python-cryptography/patches/010-remove-npn.patch
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2020-07-27 05:40:30 +0800
committerJeffery To <jeffery.to@gmail.com>2020-07-27 05:40:30 +0800
commitb6eef2af19ce3ac46e1aa369cf4b0e0c3d839df7 (patch)
treea568843f460fde7113c26a4bd2037e39d3577674 /lang/python/python-cryptography/patches/010-remove-npn.patch
parent3d4bf8cb31b26a46ae85a74c4450ed0415510e3b (diff)
python-cryptography: Update to 3.0
Also: * Remove patches that are included in the update * Replace the python3 dependency with a smaller list (python3-urllib is needed because it is a dependency of python3-email) Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-cryptography/patches/010-remove-npn.patch')
-rw-r--r--lang/python/python-cryptography/patches/010-remove-npn.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/lang/python/python-cryptography/patches/010-remove-npn.patch b/lang/python/python-cryptography/patches/010-remove-npn.patch
deleted file mode 100644
index 00104b23c..000000000
--- a/lang/python/python-cryptography/patches/010-remove-npn.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From eec1f066476eccf7135af0a4cfef9e1c883795b3 Mon Sep 17 00:00:00 2001
-From: Paul Kehrer <paul.l.kehrer@gmail.com>
-Date: Mon, 25 Feb 2019 10:55:16 +0800
-Subject: [PATCH] remove NPN bindings -- you should be using ALPN!
-
-pyOpenSSL consumed these, but we've marked it as deprecated and it
-already handles the case where the bindings are not available.
----
- src/_cffi_src/openssl/ssl.py | 16 ----------------
- 1 file changed, 16 deletions(-)
-
-diff --git a/src/_cffi_src/openssl/ssl.py b/src/_cffi_src/openssl/ssl.py
-index da21f3ce90..0e8610f988 100644
---- a/src/_cffi_src/openssl/ssl.py
-+++ b/src/_cffi_src/openssl/ssl.py
-@@ -431,25 +431,9 @@
-
- long SSL_session_reused(SSL *);
-
--void SSL_CTX_set_next_protos_advertised_cb(SSL_CTX *,
-- int (*)(SSL *,
-- const unsigned char **,
-- unsigned int *,
-- void *),
-- void *);
--void SSL_CTX_set_next_proto_select_cb(SSL_CTX *,
-- int (*)(SSL *,
-- unsigned char **,
-- unsigned char *,
-- const unsigned char *,
-- unsigned int,
-- void *),
-- void *);
- int SSL_select_next_proto(unsigned char **, unsigned char *,
- const unsigned char *, unsigned int,
- const unsigned char *, unsigned int);
--void SSL_get0_next_proto_negotiated(const SSL *,
-- const unsigned char **, unsigned *);
-
- int sk_SSL_CIPHER_num(Cryptography_STACK_OF_SSL_CIPHER *);
- const SSL_CIPHER *sk_SSL_CIPHER_value(Cryptography_STACK_OF_SSL_CIPHER *, int);