From 054bf79daee662a9119729fd49ece6d7eb6827bf Mon Sep 17 00:00:00 2001 From: Otto Date: Fri, 22 Oct 2021 13:31:21 +0200 Subject: [PATCH] Add guard as noted by pieterlexis --- pdns/speedtest.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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<