Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156565813
D37047.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
963 B
Referenced Files
None
Subscribers
None
D37047.id.diff
View Options
diff --git a/lang/python27/files/patch-Modules___hashopenssl.c b/lang/python27/files/patch-Modules___hashopenssl.c
new file mode 100644
--- /dev/null
+++ b/lang/python27/files/patch-Modules___hashopenssl.c
@@ -0,0 +1,20 @@
+--- Modules/_hashopenssl.c.orig 2022-10-17 10:25:01 UTC
++++ Modules/_hashopenssl.c
+@@ -56,7 +56,7 @@
+ #define _OPENSSL_SUPPORTS_SHA2
+ #endif
+
+-#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
++#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
+ /* OpenSSL < 1.1.0 */
+ #define EVP_MD_CTX_new EVP_MD_CTX_create
+ #define EVP_MD_CTX_free EVP_MD_CTX_destroy
+@@ -901,7 +901,7 @@ init_hashlib(void)
+ {
+ PyObject *m, *openssl_md_meth_names;
+
+-#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
++#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
+ /* Load all digest algorithms and initialize cpuid */
+ OPENSSL_add_all_algorithms_noconf();
+ ERR_load_crypto_strings();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 15, 5:27 PM (4 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33091910
Default Alt Text
D37047.id.diff (963 B)
Attached To
Mode
D37047: lang/python27: Fix build with libressl 3.5
Attached
Detach File
Event Timeline
Log In to Comment