From ea3d8ed8fe76443043fda65c133e6675c28ca0ef Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 6 May 2025 08:43:34 -0400 Subject: [PATCH] Stop detecting HKDF: Our supported OpenSSL versions always have it --- configure.ac | 1 - src/lib/crypt_ops/crypto_hkdf.c | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 4752190883..f81e4aa7b6 100644 --- a/configure.ac +++ b/configure.ac @@ -1123,7 +1123,6 @@ dnl check the openssl version number, but in practice that gets pretty dnl confusing with LibreSSL, OpenSSL, and various distributions' patches dnl to them. AC_CHECK_FUNCS([ \ - ERR_load_KDF_strings \ EVP_PBE_scrypt \ SSL_CIPHER_find \ SSL_CTX_set1_groups_list \ diff --git a/src/lib/crypt_ops/crypto_hkdf.c b/src/lib/crypt_ops/crypto_hkdf.c index ffdf71933d..18ac2938ac 100644 --- a/src/lib/crypt_ops/crypto_hkdf.c +++ b/src/lib/crypt_ops/crypto_hkdf.c @@ -20,11 +20,8 @@ #ifdef ENABLE_OPENSSL #include #include - -#if defined(HAVE_ERR_LOAD_KDF_STRINGS) #include -#define HAVE_OPENSSL_HKDF 1 -#endif +#define HAVE_OPENSSL_HKDF #endif /* defined(ENABLE_OPENSSL) */ #include -- 2.47.3