From 5b29f1b3ac755d7ce20671d77d3a3a52109ecfa7 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Tue, 24 Apr 2018 09:16:10 +0000 Subject: [PATCH] Fix libunbound return for root key sentinel. git-svn-id: file:///svn/unbound/trunk@4655 be551aaa-1e26-0410-a405-d3ace91eadb9 --- libunbound/libworker.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libunbound/libworker.c b/libunbound/libworker.c index 090fd276e..4380d69ca 100644 --- a/libunbound/libworker.c +++ b/libunbound/libworker.c @@ -513,7 +513,8 @@ libworker_enter_result(struct ub_result* res, sldns_buffer* buf, res->nxdomain = 1; if(msg_security == sec_status_secure) res->secure = 1; - if(msg_security == sec_status_bogus) + if(msg_security == sec_status_bogus || + msg_security == sec_status_secure_sentinel_fail) res->bogus = 1; }