From d005163ace21dbf2dbf9de579dbec237264969c0 Mon Sep 17 00:00:00 2001 From: Dirkjan Bussink Date: Fri, 18 Dec 2020 13:57:30 +0100 Subject: [PATCH] Require at least OpenSSL 1.0.1 This is now the minimum version, so check it in the CMake configuration. Signed-off-by: Dirkjan Bussink Reviewed-by: Jakub Jelen Reviewed-by: Andreas Schneider --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ae2525d..b8b4b0bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,7 +58,7 @@ elseif(WITH_MBEDTLS) message(FATAL_ERROR "Could not find mbedTLS") endif (NOT MBEDTLS_FOUND) else (WITH_GCRYPT) - find_package(OpenSSL) + find_package(OpenSSL 1.0.1) if (OPENSSL_FOUND) # On CMake < 3.16, OPENSSL_CRYPTO_LIBRARIES is usually a synonym for OPENSSL_CRYPTO_LIBRARY, but is not defined # when building on Windows outside of Cygwin. We provide the synonym here, if FindOpenSSL didn't define it already.