Page MenuHomeFreeBSD

D35728.id107825.diff
No OneTemporary

D35728.id107825.diff

Index: lang/python39/files/patch-libressl-35
===================================================================
--- /dev/null
+++ lang/python39/files/patch-libressl-35
@@ -0,0 +1,13 @@
+--- Modules/_hashopenssl.c.orig 2022-07-06 07:28:12 UTC
++++ Modules/_hashopenssl.c
+@@ -36,7 +36,9 @@
+ # 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 < 0x03050000fL)
+ /* OpenSSL < 1.1.0 */
+ #define EVP_MD_CTX_new EVP_MD_CTX_create
+ #define EVP_MD_CTX_free EVP_MD_CTX_destroy

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 12, 5:59 PM (1 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31362270
Default Alt Text
D35728.id107825.diff (712 B)

Event Timeline