mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 01:51:22 +00:00
python-cryptography: bump to version 3.4.7
Dropped patches: 0004-Replace-EVP_CIPHER_CTX_cleanup-with-EVP_CIPHER_CTX_r.patch 0005-Switch-get_-Update-APIs-to-get0.patch Reworked patches: 0001-Add-new-ASN1_STRING_get0_data-API.patch 0006-Add-X509_STORE_CTX_trusted_stack-compatibility-macro.patch These 2 require that we keep only the CUSTOMIZATIONS stuff for now. Maybe later we can drop this. Ran 'make package/python-cryptography/refresh'. Added patch: 0004-disable-rust.patch upstream did a sloppy job with the CRYPTOGRAPHY_DONT_BUILD_RUST logic; we need to patch it, to make sure the setuptools-rust isn't installed. We may need to carry this patch in our tree for a bit longer than upstream, because in newer versions, CRYPTOGRAPHY_DONT_BUILD_RUST logic gets removed. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
committed by
Hannu Nyman
parent
6f2ac237a1
commit
01d1b4581e
@@ -12,7 +12,7 @@ Subject: [PATCH 7/7] Add defines for totally deprecated functions
|
||||
|
||||
--- a/src/_cffi_src/openssl/conf.py
|
||||
+++ b/src/_cffi_src/openssl/conf.py
|
||||
@@ -18,4 +18,8 @@ void OPENSSL_no_config(void);
|
||||
@@ -17,4 +17,8 @@ void OPENSSL_no_config(void);
|
||||
"""
|
||||
|
||||
CUSTOMIZATIONS = """
|
||||
@@ -23,7 +23,7 @@ Subject: [PATCH 7/7] Add defines for totally deprecated functions
|
||||
"""
|
||||
--- a/src/_cffi_src/openssl/crypto.py
|
||||
+++ b/src/_cffi_src/openssl/crypto.py
|
||||
@@ -114,4 +114,8 @@ void *Cryptography_realloc_wrapper(void
|
||||
@@ -113,4 +113,8 @@ void *Cryptography_realloc_wrapper(void
|
||||
void Cryptography_free_wrapper(void *ptr, const char *path, int line) {
|
||||
free(ptr);
|
||||
}
|
||||
@@ -34,7 +34,7 @@ Subject: [PATCH 7/7] Add defines for totally deprecated functions
|
||||
"""
|
||||
--- a/src/_cffi_src/openssl/ecdh.py
|
||||
+++ b/src/_cffi_src/openssl/ecdh.py
|
||||
@@ -18,4 +18,7 @@ long SSL_CTX_set_ecdh_auto(SSL_CTX *, in
|
||||
@@ -17,4 +17,7 @@ long SSL_CTX_set_ecdh_auto(SSL_CTX *, in
|
||||
"""
|
||||
|
||||
CUSTOMIZATIONS = """
|
||||
@@ -44,7 +44,7 @@ Subject: [PATCH 7/7] Add defines for totally deprecated functions
|
||||
"""
|
||||
--- a/src/_cffi_src/openssl/ssl.py
|
||||
+++ b/src/_cffi_src/openssl/ssl.py
|
||||
@@ -739,4 +739,9 @@ long (*SSL_get_max_proto_version)(SSL *)
|
||||
@@ -745,4 +745,9 @@ long (*SSL_get_max_proto_version)(SSL *)
|
||||
#else
|
||||
static const long Cryptography_HAS_GET_PROTO_VERSION = 1;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user