From c8e155a724b7817df21c7ffcce82cd4c556c093a Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 23 Jan 2023 15:24:14 +0100 Subject: [PATCH] rec: fix test_libcrypto's scan for dup libcrypto by using a proper pattern Fixes #12450 --- pdns/recursordist/test_libcrypto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/recursordist/test_libcrypto b/pdns/recursordist/test_libcrypto index 91af04f225..71e99abd22 100755 --- a/pdns/recursordist/test_libcrypto +++ b/pdns/recursordist/test_libcrypto @@ -1,6 +1,6 @@ #!/bin/sh -if [ $(ldd pdns_recursor | grep -c libcrypto) -gt 1 ]; then +if [ $(ldd pdns_recursor | grep -Fc libcrypto.) -gt 1 ]; then echo "Error! pdns_recursor is linked against multiple OpenSSL versions!" echo "This happens when one dependency is linked to OpenSSL 1.0, while" echo "pdns_recursor is linked against OpenSSL 1.1. Please set --with-libcrypto" -- 2.47.2