python-cryptography: bump to version 3.2.1

Also refreshed patches.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
Alexandru Ardelean
2020-11-02 13:38:03 +02:00
parent adc7fc36a0
commit a9862edad7
8 changed files with 22 additions and 71 deletions

View File

@@ -9,8 +9,6 @@ Subject: [PATCH] Add defines for totally deprecated functions
src/_cffi_src/openssl/ssl.py | 5 +++++
3 files changed, 13 insertions(+)
diff --git a/src/_cffi_src/openssl/conf.py b/src/_cffi_src/openssl/conf.py
index 9db0162a..6b474d42 100644
--- a/src/_cffi_src/openssl/conf.py
+++ b/src/_cffi_src/openssl/conf.py
@@ -18,4 +18,8 @@ void OPENSSL_no_config(void);
@@ -22,11 +20,9 @@ index 9db0162a..6b474d42 100644
+#define OPENSSL_no_config() 0
+#endif
"""
diff --git a/src/_cffi_src/openssl/crypto.py b/src/_cffi_src/openssl/crypto.py
index f3623b21..85541b31 100644
--- a/src/_cffi_src/openssl/crypto.py
+++ b/src/_cffi_src/openssl/crypto.py
@@ -124,4 +124,8 @@ void *Cryptography_realloc_wrapper(void *ptr, size_t size, const char *path,
@@ -124,4 +124,8 @@ void *Cryptography_realloc_wrapper(void
void Cryptography_free_wrapper(void *ptr, const char *path, int line) {
free(ptr);
}
@@ -35,11 +31,9 @@ index f3623b21..85541b31 100644
+#define CRYPTO_get_locking_callback() 0
+#endif
"""
diff --git a/src/_cffi_src/openssl/ssl.py b/src/_cffi_src/openssl/ssl.py
index e726417d..68c42160 100644
--- a/src/_cffi_src/openssl/ssl.py
+++ b/src/_cffi_src/openssl/ssl.py
@@ -792,4 +792,9 @@ int (*SSL_CTX_set_max_early_data)(SSL_CTX *, uint32_t) = NULL;
@@ -792,4 +792,9 @@ int (*SSL_CTX_set_max_early_data)(SSL_CT
#else
static const long Cryptography_HAS_TLSv1_3 = 1;
#endif
@@ -49,6 +43,3 @@ index e726417d..68c42160 100644
+#define SSL_load_error_strings() 0
+#endif
"""
--
2.26.2