From 0d4a6a950042ba3037badc627ca4d52d02015774 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 16 Feb 2025 20:07:40 +0100 Subject: [PATCH] cmake: fix ECH detection in custom-patched OpenSSL Typo found via #16352 Regression-from fd067bfb5b028ac41660decc5abb87f1cd093b6b #15596 Closes #16354 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 45c95f93e8..3af7844444 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1020,7 +1020,7 @@ if(USE_ECH) endif() if(HAVE_BORINGSSL OR HAVE_AWSLC) curl_openssl_check_symbol_exists("SSL_set1_ech_config_list" "openssl/ssl.h" HAVE_SSL_SET1_ECH_CONFIG_LIST) - elseif(HAVE_OPENSSL) + elseif(USE_OPENSSL) curl_openssl_check_symbol_exists("SSL_set1_ech_config_list" "openssl/ech.h" HAVE_SSL_SET1_ECH_CONFIG_LIST) endif() if(HAVE_WOLFSSL_CTX_GENERATEECHCONFIG OR