From 39bd192f793ec5dbdf0f2b3ad3a9af1caf5fbbc6 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 12 Aug 2025 12:29:27 +0200 Subject: [PATCH] cmake: require mbedtls 3.2.0 --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 50db8602d7..5e0bf4bf98 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -802,6 +802,9 @@ endif() if(CURL_USE_MBEDTLS) find_package(MbedTLS REQUIRED) + if(MBEDTLS_VERSION VERSION_LESS 3.2.0) + message(FATAL_ERROR "mbedTLS v3.2.0 or newer is required.") + endif() set(_ssl_enabled ON) set(USE_MBEDTLS ON) list(APPEND CURL_LIBS ${MBEDTLS_LIBRARIES})