[PATCH] Revert "don't build with OpenSSL 3.0, it doesn't work before MDEV-25785"
authorOleksandr Byelkin <sanja@mariadb.com>
Fri, 4 Feb 2022 13:52:03 +0000 (14:52 +0100)
committerOtto Kekäläinen <otto@debian.org>
Thu, 10 Mar 2022 06:26:32 +0000 (06:26 +0000)
This reverts commit c9beef43154a199bfcd9f71049c011a2ed77ca74, because
we have OpenSSL 3.0 support here.

Gbp-Pq: Name openssl-3-enable.patch

cmake/ssl.cmake

index a6793cf3c55ed367fcfa18b70056c90deb98aad6..7c2488be8bdcc5a8e8a991530c82dd8c6283f895 100644 (file)
@@ -118,7 +118,7 @@ MACRO (MYSQL_CHECK_SSL)
     ENDIF()
     FIND_PACKAGE(OpenSSL)
     SET_PACKAGE_PROPERTIES(OpenSSL PROPERTIES TYPE RECOMMENDED)
-    IF(OPENSSL_FOUND AND OPENSSL_VERSION AND OPENSSL_VERSION VERSION_LESS "3.0.0")
+    IF(OPENSSL_FOUND)
       SET(OPENSSL_LIBRARY ${OPENSSL_SSL_LIBRARY})
       INCLUDE(CheckSymbolExists)
       SET(SSL_SOURCES "")