]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: fix test_libcrypto's scan for dup libcrypto by using a proper pattern 12454/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 23 Jan 2023 14:24:14 +0000 (15:24 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 23 Jan 2023 14:24:14 +0000 (15:24 +0100)
Fixes #12450

pdns/recursordist/test_libcrypto

index 91af04f225f8944779659b6961f1bcc3eb3b2a59..71e99abd22a368fff530d6d3f430fd9dbe878c18 100755 (executable)
@@ -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"