From f4a35f3735a56440bd7ad218ec2df1bfe78272cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Blin?=
 <sebastien.blin@savoirfairelinux.com>
Date: Fri, 5 May 2023 13:20:34 -0400
Subject: [PATCH] contrib: fix ssl detection

Change-Id: I267631faf3bdd24164553de669440c0e8d104638
---
 contrib/src/libressl/rules.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/libressl/rules.mak b/contrib/src/libressl/rules.mak
index ec126ff51e..f65206d5a5 100644
--- a/contrib/src/libressl/rules.mak
+++ b/contrib/src/libressl/rules.mak
@@ -23,7 +23,7 @@ LIBRESSL_VERSION := libressl-$(SSL_VERSION)
 LIBRESSL_URL := https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/$(LIBRESSL_VERSION).tar.gz
 
 # Check if openssl or libressl is already present on the system
-ifeq ($(or $(call need_pkg,"openssl >= 1.0.0"),$(call need_pkg,"libressl >= 1.0.0")),)
+ifeq ($(filter $(call need_pkg,"openssl >= 1.0.0"), $(call need_pkg,"libressl >= 1.0.0")),)
 PKGS_FOUND += libressl
 endif
 
-- 
GitLab