python3-cryptography: backport patches to make this work against OpenSSL 3

Backport just enough changes that python3-cryptography doesn't crash on
startup when linked against OpenSSL 3.

This is very much not complete, and the upgrade to the latest version of
python3-crytography has to happen soon.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Ross Burton
2021-11-08 16:59:30 +00:00
committed by Khem Raj
parent e710ce117d
commit cd430556f8
2 changed files with 63 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ SRC_URI[sha256sum] = "5a60d3780149e13b7a6ff7ad6526b38846354d11a15e21068e57073e29
SRC_URI += " \
file://run-ptest \
file://h-test.patch \
file://openssl3.patch \
"
inherit pypi setuptools3