From 51f2c3ea4c75e7e4678a77106fe341c6fb39197c Mon Sep 17 00:00:00 2001 From: Dominik Hassler Date: Wed, 22 Nov 2023 19:14:55 +0000 Subject: [PATCH] aarch64: fix cryptography-311 build --- .../pyopenssl/patches.aarch64/cryptography.patch | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/build/python311/pyopenssl/patches.aarch64/cryptography.patch b/build/python311/pyopenssl/patches.aarch64/cryptography.patch index 20b46be4b4..8ea4d37670 100644 --- a/build/python311/pyopenssl/patches.aarch64/cryptography.patch +++ b/build/python311/pyopenssl/patches.aarch64/cryptography.patch @@ -1,21 +1,13 @@ -diff -wpruN '--exclude=*.orig' a~/src/OpenSSL/crypto.py a/src/OpenSSL/crypto.py +diff -wpruN --no-dereference '--exclude=*.orig' a~/src/OpenSSL/crypto.py a/src/OpenSSL/crypto.py --- a~/src/OpenSSL/crypto.py 1970-01-01 00:00:00 +++ a/src/OpenSSL/crypto.py 1970-01-01 00:00:00 -@@ -3257,8 +3257,7 @@ utils.deprecated( - "PKCS#7 support in pyOpenSSL is deprecated. You should use the APIs " +@@ -2840,8 +2840,7 @@ utils.deprecated( + "PKCS#12 support in pyOpenSSL is deprecated. You should use the APIs " "in cryptography." ), - DeprecationWarning, -- name="load_pkcs7_data", +- name="PKCS12", + DeprecationWarning ) -@@ -3356,6 +3355,5 @@ utils.deprecated( - "PKCS#12 support in pyOpenSSL is deprecated. You should use the APIs " - "in cryptography." - ), -- DeprecationWarning, -- name="load_pkcs12", -+ DeprecationWarning - )