| diff -ru Python-3.7.10.orig/Modules/_ssl.c Python-3.7.10/Modules/_ssl.c |
| |
| |
| @@ -921,7 +921,6 @@ |
| self->err = err; |
| |
| /* Make sure the SSL error state is initialized */ |
| - (void) ERR_get_state(); |
| ERR_clear_error(); |
| |
| PySSL_BEGIN_ALLOW_THREADS |
| diff -ru Python-3.7.10.orig/Modules/_hashopenssl.c Python-3.7.10/Modules/_hashopenssl.c |
| |
| |
| @@ -42,7 +42,7 @@ |
| #define HASH_OBJ_CONSTRUCTOR 0 |
| #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 |