diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2023-09-13 12:33:51 +0800 |
|---|---|---|
| committer | Rosen Penev <rosenp@gmail.com> | 2023-09-27 16:40:55 -0700 |
| commit | 9fdff3ea94662653188c3902840e97c35e9f138f (patch) | |
| tree | f8c0a97f7addc1c757a0171736d0782f82e8bdfd /lang/python/python-cryptography/patches/0001-Add-new-ASN1_STRING_get0_data-API.patch | |
| parent | 4d43be8549c8240f5039040fd1efd44aa2eb61fa (diff) | |
python-cryptography: Update to 41.0.4
This includes a patch to update the version of ouroboros (Rust crate)
used, to fix RUSTSEC-2023-0042[1]. Upstream has switch from ouroboros to
self_cell so this patch should only be necessary for cryptography 41.
[1]: https://rustsec.org/advisories/RUSTSEC-2023-0042.html
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
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.patch | 20 |
1 files changed, 0 insertions, 20 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 deleted file mode 100644 index 46adae82d..000000000 --- a/lang/python/python-cryptography/patches/0001-Add-new-ASN1_STRING_get0_data-API.patch +++ /dev/null @@ -1,20 +0,0 @@ -From 7eefc9c72f522e414f953fee2d6ca9242c566107 Mon Sep 17 00:00:00 2001 -From: Rosen Penev <rosenp@gmail.com> -Date: Fri, 7 Jun 2019 18:18:46 -0700 -Subject: [PATCH 1/7] Add new ASN1_STRING_get0_data API - -Introduced with OpenSSL 1.1 ---- - src/_cffi_src/openssl/asn1.py | 4 ++++ - 1 file changed, 4 insertions(+) - ---- a/src/_cffi_src/openssl/asn1.py -+++ b/src/_cffi_src/openssl/asn1.py -@@ -105,4 +105,7 @@ ASN1_NULL *ASN1_NULL_new(void); - """ - - CUSTOMIZATIONS = """ -+#if (OPENSSL_API_COMPAT >= 0x10100000L) && !CRYPTOGRAPHY_IS_LIBRESSL -+#define ASN1_STRING_data ASN1_STRING_get0_data -+#endif - """ |
