From 3a08024dfd160563b3a1d065d833870a10c3157f Mon Sep 17 00:00:00 2001 From: Luca Guerra Date: Mon, 31 Jul 2023 10:13:16 +0000 Subject: [PATCH] new(build): upgrade to OpenSSL 3.1.1 Signed-off-by: Luca Guerra --- cmake/modules/openssl.cmake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmake/modules/openssl.cmake b/cmake/modules/openssl.cmake index 425ba13a5e..db9f366225 100644 --- a/cmake/modules/openssl.cmake +++ b/cmake/modules/openssl.cmake @@ -19,8 +19,8 @@ else() set(OPENSSL_BUNDLE_DIR "${PROJECT_BINARY_DIR}/openssl-prefix/src/openssl") set(OPENSSL_INSTALL_DIR "${OPENSSL_BUNDLE_DIR}/target") set(OPENSSL_INCLUDE_DIR "${PROJECT_BINARY_DIR}/openssl-prefix/src/openssl/include/") - set(OPENSSL_LIBRARY_SSL "${OPENSSL_INSTALL_DIR}/lib/libssl${OPENSSL_LIB_SUFFIX}") - set(OPENSSL_LIBRARY_CRYPTO "${OPENSSL_INSTALL_DIR}/lib/libcrypto${OPENSSL_LIB_SUFFIX}") + set(OPENSSL_LIBRARY_SSL "${OPENSSL_INSTALL_DIR}/lib64/libssl${OPENSSL_LIB_SUFFIX}") + set(OPENSSL_LIBRARY_CRYPTO "${OPENSSL_INSTALL_DIR}/lib64/libcrypto${OPENSSL_LIB_SUFFIX}") set(OPENSSL_LIBRARIES ${OPENSSL_LIBRARY_SSL} ${OPENSSL_LIBRARY_CRYPTO}) if(NOT TARGET openssl) @@ -28,8 +28,8 @@ else() ExternalProject_Add(openssl PREFIX "${PROJECT_BINARY_DIR}/openssl-prefix" - URL "https://github.com/openssl/openssl/archive/OpenSSL_1_1_1u.tar.gz" - URL_HASH "SHA256=fafe27202bde4238dce258d82ec8a8592a657842e5431264620a933a0c9436b7" + URL "https://github.com/openssl/openssl/releases/download/openssl-3.1.1/openssl-3.1.1.tar.gz" + URL_HASH "SHA256=b3aa61334233b852b63ddb048df181177c2c659eb9d4376008118f9c08d07674" CONFIGURE_COMMAND ./config ${OPENSSL_SHARED_OPTION} --prefix=${OPENSSL_INSTALL_DIR} BUILD_COMMAND ${CMAKE_MAKE_PROGRAM} BUILD_IN_SOURCE 1