diff options
| author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2018-06-11 11:01:17 +0300 |
|---|---|---|
| committer | Alexandru Ardelean <ardeleanalex@gmail.com> | 2018-06-11 12:02:40 +0300 |
| commit | 81894aa414397468e5ec06b9bfd9a6d79aa66487 (patch) | |
| tree | 06133da9e648958e17a19992f82b8cf5442611c4 /lang/python/python-cryptography/patches/002-remove-undefined-dtls-methods.patch | |
| parent | 61929b083eea70752189767c9bab84ab9d81f5df (diff) | |
python-cryptography: bump to version 2.2.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python/python-cryptography/patches/002-remove-undefined-dtls-methods.patch')
| -rw-r--r-- | lang/python/python-cryptography/patches/002-remove-undefined-dtls-methods.patch | 6 |
1 files changed, 5 insertions, 1 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 index 25ad27d7c..ef58ed5f8 100644 --- a/lang/python/python-cryptography/patches/002-remove-undefined-dtls-methods.patch +++ b/lang/python/python-cryptography/patches/002-remove-undefined-dtls-methods.patch @@ -1,12 +1,16 @@ --- a/src/_cffi_src/openssl/ssl.py +++ b/src/_cffi_src/openssl/ssl.py -@@ -597,9 +597,6 @@ static const long TLS_ST_OK = 0; +@@ -646,13 +646,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; +-static const long SSL_OP_NO_DTLSv1 = NULL; +-static const long SSL_OP_NO_DTLSv1_2 = NULL; +-long *(*DTLS_set_link_mtu)(SSL *, long) = NULL; +-long *(*DTLS_get_link_min_mtu)(SSL *) = NULL; #else static const long Cryptography_HAS_GENERIC_DTLS_METHOD = 1; #endif |
