From 7a9ccf858caeeb239efd367918a29fa43c96fbad Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Wed, 25 Mar 2015 16:04:05 +0000 Subject: [PATCH] - If unknown trust anchor algorithm, and libressl is used, error message encourages upgrade of the libressl package. git-svn-id: file:///svn/unbound/trunk@3378 be551aaa-1e26-0410-a405-d3ace91eadb9 --- doc/Changelog | 2 ++ validator/val_anchor.c | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/Changelog b/doc/Changelog index d806b5ca6..d5ee3bb0e 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,6 +1,8 @@ 25 March 2015: Wouter - Fix #657: libunbound(3) recommends deprecated CRYPTO_set_id_callback. + - If unknown trust anchor algorithm, and libressl is used, error + message encourages upgrade of the libressl package. 23 March 2015: Wouter - Fix segfault on user not found at startup (from Maciej Soltysiak). diff --git a/validator/val_anchor.c b/validator/val_anchor.c index 2d9d4aba6..79581cc46 100644 --- a/validator/val_anchor.c +++ b/validator/val_anchor.c @@ -1020,7 +1020,13 @@ anchors_assemble_rrsets(struct val_anchors* anchors) dname_str(ta->name, b); log_warn("trust anchor %s has no supported algorithms," " the anchor is ignored (check if you need to" - " upgrade unbound and openssl)", b); + " upgrade unbound and " +#ifdef HAVE_LIBRESSL + "libressl" +#else + "openssl" +#endif + ")", b); (void)rbtree_delete(anchors->tree, &ta->node); lock_basic_unlock(&ta->lock); anchors_delfunc(&ta->node, NULL); -- 2.47.2