From 01d1b4581e885bc878de6e075b19a1008ef93569 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Tue, 15 Jun 2021 12:25:34 +0300 Subject: 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 --- .../patches/0001-Add-new-ASN1_STRING_get0_data-API.patch | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'lang/python/python-cryptography/patches/0001-Add-new-ASN1_STRING_get0_data-API.patch') diff --git a/lang/python/python-cryptography/patches/0001-Add-new-ASN1_STRING_get0_data-API.patch b/lang/python/python-cryptography/patches/0001-Add-new-ASN1_STRING_get0_data-API.patch index 6b206b4ce..46adae82d 100644 --- a/lang/python/python-cryptography/patches/0001-Add-new-ASN1_STRING_get0_data-API.patch +++ b/lang/python/python-cryptography/patches/0001-Add-new-ASN1_STRING_get0_data-API.patch @@ -10,15 +10,7 @@ Introduced with OpenSSL 1.1 --- a/src/_cffi_src/openssl/asn1.py +++ b/src/_cffi_src/openssl/asn1.py -@@ -45,6 +45,7 @@ void ASN1_OBJECT_free(ASN1_OBJECT *); - - /* ASN1 STRING */ - unsigned char *ASN1_STRING_data(ASN1_STRING *); -+const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *); - int ASN1_STRING_set(ASN1_STRING *, const void *, int); - - /* ASN1 OCTET STRING */ -@@ -105,4 +106,7 @@ ASN1_NULL *ASN1_NULL_new(void); +@@ -105,4 +105,7 @@ ASN1_NULL *ASN1_NULL_new(void); """ CUSTOMIZATIONS = """ -- cgit