| diff -ru Python-2.7.18.orig/Modules/_hashopenssl.c Python-2.7.18/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 |