diff options
| author | Hannu Nyman <hannu.nyman@iki.fi> | 2017-08-11 23:16:31 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-11 23:16:31 +0300 |
| commit | ca28411285f688e730262a6e5ad308a7435ac4eb (patch) | |
| tree | 0e419a87cf7f8df0bd68d074f598e35f9b317be6 /lang/python/python-cryptography/patches | |
| parent | bafe3319efda1ccbb11d6927ebe6aceebf1119a7 (diff) | |
| parent | d0627930420dbad4d3d867d9065eda7b2a8c84cb (diff) | |
Merge pull request #4693 from commodo/python-cryptography-update
python-cryptography: bump to version 2.0.3 ; add python-asn1crypto (dep required for python-cryptography)
Diffstat (limited to 'lang/python/python-cryptography/patches')
| -rw-r--r-- | lang/python/python-cryptography/patches/002-remove-undefined-dtls-methods.patch | 14 |
1 files changed, 14 insertions, 0 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 new file mode 100644 index 000000000..3b7aaf396 --- /dev/null +++ b/lang/python/python-cryptography/patches/002-remove-undefined-dtls-methods.patch @@ -0,0 +1,14 @@ +diff --git a/src/_cffi_src/openssl/ssl.py b/src/_cffi_src/openssl/ssl.py +index 8bda4e0..aa81060 100644 +--- a/src/_cffi_src/openssl/ssl.py ++++ b/src/_cffi_src/openssl/ssl.py +@@ -595,9 +595,6 @@ static const long TLS_ST_OK = 0; + + #if defined(OPENSSL_NO_DTLS) || 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; +-const SSL_METHOD *(*DTLS_client_method)(void) = NULL; + #else + static const long Cryptography_HAS_GENERIC_DTLS_METHOD = 1; + #endif |
