From: George Thessalonikefs Date: Mon, 22 Mar 2021 13:31:58 +0000 (+0100) Subject: - Fix unused-function warning when compiling with --enable-dnscrypt. X-Git-Tag: release-1.13.2rc1~237^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9e34757766fb43c8d390f6772b3d99a6c41a430;p=thirdparty%2Funbound.git - Fix unused-function warning when compiling with --enable-dnscrypt. --- diff --git a/dnscrypt/dnscrypt.c b/dnscrypt/dnscrypt.c index 843735018..9b324ae69 100644 --- a/dnscrypt/dnscrypt.c +++ b/dnscrypt/dnscrypt.c @@ -863,6 +863,7 @@ dnsc_parse_keys(struct dnsc_env *env, struct config_file *cfg) return cert_id; } +#ifdef SODIUM_MISUSE_HANDLER static void sodium_misuse_handler(void) { @@ -872,6 +873,7 @@ sodium_misuse_handler(void) " unbound in a chroot, make sure /dev/urandom is available. See" " https://www.unbound.net/documentation/unbound.conf.html"); } +#endif /** diff --git a/doc/Changelog b/doc/Changelog index 2d1cb04a0..3b138ccee 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +22 March 2021: George + - Fix unused-function warning when compiling with --enable-dnscrypt. + 22 March 2021: Wouter - Merge #449 from orbea: build: Add missing linker flags. - iana portlist update.