From: Otto Moerbeek Date: Mon, 23 Jan 2023 14:24:14 +0000 (+0100) Subject: rec: fix test_libcrypto's scan for dup libcrypto by using a proper pattern X-Git-Tag: dnsdist-1.8.0-rc1~84^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F12454%2Fhead;p=thirdparty%2Fpdns.git rec: fix test_libcrypto's scan for dup libcrypto by using a proper pattern Fixes #12450 --- 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"