summaryrefslogtreecommitdiff
path: root/lang/python/python-cryptography/patches/0001-Add-new-ASN1_STRING_get0_data-API.patch
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/python-cryptography/patches/0001-Add-new-ASN1_STRING_get0_data-API.patch')
-rw-r--r--lang/python/python-cryptography/patches/0001-Add-new-ASN1_STRING_get0_data-API.patch10
1 files changed, 1 insertions, 9 deletions
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 = """