From f9e34757766fb43c8d390f6772b3d99a6c41a430 Mon Sep 17 00:00:00 2001 From: George Thessalonikefs Date: Mon, 22 Mar 2021 14:31:58 +0100 Subject: [PATCH 1/2] - Fix unused-function warning when compiling with --enable-dnscrypt. --- dnscrypt/dnscrypt.c | 2 ++ doc/Changelog | 3 +++ 2 files changed, 5 insertions(+) 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. From 864ac4a6c6fedd16c0697accbe715ec0d9b578f8 Mon Sep 17 00:00:00 2001 From: Alex Band Date: Mon, 22 Mar 2021 14:35:30 +0100 Subject: [PATCH 2/2] Add docs badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3e11ce58c..c8877d1e9 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![Travis Build Status](https://travis-ci.org/NLnetLabs/unbound.svg?branch=master)](https://travis-ci.org/NLnetLabs/unbound) [![Packaging status](https://repology.org/badge/tiny-repos/unbound.svg)](https://repology.org/project/unbound/versions) [![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/unbound.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:unbound) +[![Documentation Status](https://readthedocs.org/projects/unbound/badge/?version=latest)](https://unbound.readthedocs.io/en/latest/?badge=latest) Unbound is a validating, recursive, caching DNS resolver. It is designed to be fast and lean and incorporates modern features based on open standards. If you