From: Viktor Szakats Date: Sun, 16 Feb 2025 19:07:40 +0000 (+0100) Subject: cmake: fix ECH detection in custom-patched OpenSSL X-Git-Tag: curl-8_13_0~457 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0d4a6a950042ba3037badc627ca4d52d02015774;p=thirdparty%2Fcurl.git cmake: fix ECH detection in custom-patched OpenSSL Typo found via #16352 Regression-from fd067bfb5b028ac41660decc5abb87f1cd093b6b #15596 Closes #16354 --- 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