diff --git a/ssl.h b/ssl.h index 92ca2dd..4ba2dd7 100644 --- a/ssl.h +++ b/ssl.h @@ -79,7 +79,7 @@ * because OPENSSL_VERSION_NUMBER in LibreSSL is always 0x20000000L, * hence OPENSSL_VERSION_NUMBER >= 0x10100000L condition is always satisfied */ -#if ((OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20900000L)) && !defined(OPENSSL_NO_SHA0) +#if ((OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20030001L)) && !defined(OPENSSL_NO_SHA0) #define OPENSSL_NO_SHA0 #endif