summaryrefslogtreecommitdiff
path: root/lang/python/python-cryptography/patches
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2019-02-12 19:32:41 +0200
committerGitHub <noreply@github.com>2019-02-12 19:32:41 +0200
commit4eb0c6b2ab692e4d2787cf346280d032a4aa3ceb (patch)
tree3e3184bfe30256412392aa2ebe07f735ba91e305 /lang/python/python-cryptography/patches
parent66e68603f35fccd717649b7c337f98d1f54f2e55 (diff)
parent382f1ec6e4842d4cd9662c6e1c392f85e947a407 (diff)
Merge pull request #8196 from commodo/python-batch-updates
python,python3: batch updates
Diffstat (limited to 'lang/python/python-cryptography/patches')
-rw-r--r--lang/python/python-cryptography/patches/002-remove-undefined-dtls-methods.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/lang/python/python-cryptography/patches/002-remove-undefined-dtls-methods.patch b/lang/python/python-cryptography/patches/002-remove-undefined-dtls-methods.patch
deleted file mode 100644
index dfceff5c8..000000000
--- a/lang/python/python-cryptography/patches/002-remove-undefined-dtls-methods.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From e7a6229b332969d621aaf25f3fc5cdd99e3c9072 Mon Sep 17 00:00:00 2001
-From: Rosen Penev <rosenp@gmail.com>
-Date: Sun, 18 Nov 2018 18:04:01 -0800
-Subject: [PATCH] Adjust DTLS check (#4593)
-
-OpenSSL defines these even with OPENSSL_NO_DTLS.
----
- src/_cffi_src/openssl/ssl.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/_cffi_src/openssl/ssl.py b/src/_cffi_src/openssl/ssl.py
-index c921dbee..f0b8939c 100644
---- a/src/_cffi_src/openssl/ssl.py
-+++ b/src/_cffi_src/openssl/ssl.py
-@@ -709,7 +709,7 @@ static const long TLS_ST_BEFORE = 0;
- static const long TLS_ST_OK = 0;
- #endif
-
--#if defined(OPENSSL_NO_DTLS) || CRYPTOGRAPHY_OPENSSL_LESS_THAN_102
-+#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_102
- static const long Cryptography_HAS_GENERIC_DTLS_METHOD = 0;
- const SSL_METHOD *(*DTLS_method)(void) = NULL;
- const SSL_METHOD *(*DTLS_server_method)(void) = NULL;