From: Otto Date: Fri, 22 Oct 2021 11:31:21 +0000 (+0200) Subject: Add guard as noted by pieterlexis X-Git-Tag: rec-4.6.0-beta1~43^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=054bf79daee662a9119729fd49ece6d7eb6827bf;p=thirdparty%2Fpdns.git Add guard as noted by pieterlexis --- diff --git a/pdns/speedtest.cc b/pdns/speedtest.cc index 0cce35e466..652b7ecf09 100644 --- a/pdns/speedtest.cc +++ b/pdns/speedtest.cc @@ -1287,10 +1287,11 @@ try #endif doRun(BurtleHashTest("a string of chars")); +#ifdef HAVE_LIBSODIUM doRun(SipHashTest("a string of chars")); +#endif cerr<<"Total runs: " << g_totalRuns<