$OpenBSD: patch-lib_the_Foundation_Depends_cmake,v 1.1.1.1 2020/12/12 14:22:17 solene Exp $

Stick with base libressl even if openssl is installed

Index: lib/the_Foundation/Depends.cmake
--- lib/the_Foundation/Depends.cmake.orig
+++ lib/the_Foundation/Depends.cmake
@@ -10,10 +10,7 @@ if (NOT IOS)
         set (iHaveCurl NO)
     endif ()
     if (TFDN_ENABLE_TLSREQUEST)
-        pkg_check_modules (OPENSSL eopenssl11)  # BSD
-	if (NOT OPENSSL_FOUND)
-            pkg_check_modules (OPENSSL openssl)
-        endif ()
+        pkg_check_modules (OPENSSL openssl)
     else ()
         set (OPENSSL_FOUND NO)
         set (iHaveOpenSSL NO)
