]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Add guard as noted by pieterlexis 10881/head
authorOtto <otto.moerbeek@open-xchange.com>
Fri, 22 Oct 2021 11:31:21 +0000 (13:31 +0200)
committerOtto <otto.moerbeek@open-xchange.com>
Fri, 22 Oct 2021 11:31:21 +0000 (13:31 +0200)
pdns/speedtest.cc

index 0cce35e4660eb44ec12c24e342618114f0df552a..652b7ecf09822dc616e8f7206cedb28baf869961 100644 (file)
@@ -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<<endl;
-
 }
 catch(std::exception &e)
 {