cf19aa
diff -ru Python-2.7.18.orig/Modules/_hashopenssl.c Python-2.7.18/Modules/_hashopenssl.c
cf19aa
--- Python-2.7.18.orig/Modules/_hashopenssl.c	2020-04-19 23:13:39.000000000 +0200
cf19aa
+++ Python-2.7.18/Modules/_hashopenssl.c	2022-02-24 22:29:09.497683912 +0100
cf19aa
@@ -56,7 +56,7 @@
cf19aa
 #define _OPENSSL_SUPPORTS_SHA2
cf19aa
 #endif
cf19aa
 
cf19aa
-#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
cf19aa
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
cf19aa
 /* OpenSSL < 1.1.0 */
cf19aa
 #define EVP_MD_CTX_new EVP_MD_CTX_create
cf19aa
 #define EVP_MD_CTX_free EVP_MD_CTX_destroy