From b42cff8cad6b6606198e4624fb91226a38ba511e Mon Sep 17 00:00:00 2001 From: Anton Date: Sat, 17 Jun 2023 01:51:40 +0400 Subject: [PATCH] RIPEMD160 is now available by default since OpenSSL 3.0.7. --- src/lib/crypto/backend_version.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/crypto/backend_version.cpp b/src/lib/crypto/backend_version.cpp index 859b048c36..43d8d4f516 100644 --- a/src/lib/crypto/backend_version.cpp +++ b/src/lib/crypto/backend_version.cpp @@ -109,7 +109,7 @@ backend_version() #if defined(CRYPTO_BACKEND_OPENSSL3) #if defined(ENABLE_IDEA) || defined(ENABLE_CAST5) || defined(ENABLE_BLOWFISH) || \ - defined(ENABLE_RIPEMD160) + (defined(ENABLE_RIPEMD160) && OPENSSL_VERSION_NUMBER < 0x30000070L) #define OPENSSL_LOAD_LEGACY #endif