]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix unused-function warning when compiling with --enable-dnscrypt.
authorGeorge Thessalonikefs <george@nlnetlabs.nl>
Mon, 22 Mar 2021 13:31:58 +0000 (14:31 +0100)
committerGeorge Thessalonikefs <george@nlnetlabs.nl>
Mon, 22 Mar 2021 13:31:58 +0000 (14:31 +0100)
dnscrypt/dnscrypt.c
doc/Changelog

index 843735018b23f1b4a9e1c52f8e275ba61a9da4b8..9b324ae69052c389b64cc5b05f08098a9a61c5ec 100644 (file)
@@ -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
 
 
 /**
index 2d1cb04a085797dc65896465722a0556a296aac9..3b138cceed9597c728e47a7fcb081d18f2602a9a 100644 (file)
@@ -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.