From: Pieter Lexis Date: Tue, 6 Apr 2021 21:15:09 +0000 (+0200) Subject: find crypto_shorthash in sodium for siphash-2-4 X-Git-Tag: dnsdist-1.7.0-alpha1~3^2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b39b5b336068562153b9c1f09c4027eb4dea339;p=thirdparty%2Fpdns.git find crypto_shorthash in sodium for siphash-2-4 --- diff --git a/m4/pdns_with_libsodium.m4 b/m4/pdns_with_libsodium.m4 index 5b11982055..fbe60d2923 100644 --- a/m4/pdns_with_libsodium.m4 +++ b/m4/pdns_with_libsodium.m4 @@ -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 ], [ : ])