From 532ae1e0a10d00193719dcd1704744bf2966a25b Mon Sep 17 00:00:00 2001
From: Cyrille Bagard <nocbos@gmail.com>
Date: Sun, 6 Aug 2023 22:16:48 +0200
Subject: Use the pkg-config file for OpenSSL as the libcrypto is required.

---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 1c1e06c..e9183a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -453,10 +453,10 @@ AC_SUBST(LIBSQLITE_LIBS)
 
 #--- Checks for libssl
 
-PKG_CHECK_MODULES(LIBSSL,libssl >= 1.0.1k,[libssl_found=yes],[libssl_found=no])
+PKG_CHECK_MODULES(LIBSSL,openssl >= 3.0.9,[libssl_found=yes],[libssl_found=no])
 
 if test "$libssl_found" = "yes"; then
-   libssl_version=`pkg-config libssl --modversion`
+   libssl_version=`pkg-config openssl --modversion`
 else
    libssl_version='-'
 fi
-- 
cgit v0.11.2-87-g4458