]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
find crypto_shorthash in sodium for siphash-2-4
authorPieter Lexis <pieter.lexis@powerdns.com>
Tue, 6 Apr 2021 21:15:09 +0000 (23:15 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Mon, 20 Sep 2021 08:52:56 +0000 (10:52 +0200)
m4/pdns_with_libsodium.m4

index 5b1198205507597f235ff9f331d383c9b373bde8..fbe60d29231af6233ed5949dc691e2e6063602dc 100644 (file)
@@ -15,7 +15,7 @@ AC_DEFUN([PDNS_WITH_LIBSODIUM], [
         save_LIBS=$LIBS
         CFLAGS="$LIBSODIUM_CFLAGS $CFLAGS"
         LIBS="$LIBSODIUM_LIBS $LIBS"
-        AC_CHECK_FUNCS([crypto_box_easy_afternm crypto_box_curve25519xchacha20poly1305_easy randombytes_stir sodium_memcmp])
+        AC_CHECK_FUNCS([crypto_box_easy_afternm crypto_box_curve25519xchacha20poly1305_easy randombytes_stir sodium_memcmp crypto_shorthash])
         CFLAGS=$save_CFLAGS
         LIBS=$save_LIBS
       ], [ : ])