Fix libunbound return for root key sentinel.

git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4655 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
wouter 2018-04-24 09:16:10 +00:00
parent a7eda964dc
commit f4acc19649

View File

@ -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;
}