diff options
| author | Michael Forney <mforney@mforney.org> | 2021-05-16 01:12:58 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2021-05-17 22:03:56 -0700 |
| commit | 732d09a691b0455f04db8ea11dc8133c0dda5dfb (patch) | |
| tree | 9fade34be33b366923dfeb4fcd9e4964fd4bcf19 /pkg/python/patch/0001-Fix-build-with-libressl.patch | |
| parent | a13fa66f67543d4320b75d4aeb18d9ad7dbae180 (diff) | |
python: Port _hashlib to BearSSL
Diffstat (limited to 'pkg/python/patch/0001-Fix-build-with-libressl.patch')
| -rw-r--r-- | pkg/python/patch/0001-Fix-build-with-libressl.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/pkg/python/patch/0001-Fix-build-with-libressl.patch b/pkg/python/patch/0001-Fix-build-with-libressl.patch deleted file mode 100644 index 2a7a5803..00000000 --- a/pkg/python/patch/0001-Fix-build-with-libressl.patch +++ /dev/null @@ -1,25 +0,0 @@ -From c10df94443a1193da36af080993d64942b272be4 Mon Sep 17 00:00:00 2001 -From: Michael Forney <mforney@mforney.org> -Date: Tue, 6 Oct 2020 00:58:09 -0700 -Subject: [PATCH] Fix build with libressl - ---- - Modules/_hashopenssl.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Modules/_hashopenssl.c b/Modules/_hashopenssl.c -index adc8653773..c40a3ff705 100644 ---- a/Modules/_hashopenssl.c -+++ b/Modules/_hashopenssl.c -@@ -32,7 +32,7 @@ - # error "OPENSSL_THREADS is not defined, Python requires thread-safe OpenSSL" - #endif - --#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER) -+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) - /* OpenSSL < 1.1.0 */ - #define EVP_MD_CTX_new EVP_MD_CTX_create - #define EVP_MD_CTX_free EVP_MD_CTX_destroy --- -2.28.0 - |
