mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
Fix libunbound return for root key sentinel.
git-svn-id: file:///svn/unbound/trunk@4655 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
755177fb4c
commit
5b29f1b3ac
1 changed files with 2 additions and 1 deletions
|
|
@ -513,7 +513,8 @@ libworker_enter_result(struct ub_result* res, sldns_buffer* buf,
|
||||||
res->nxdomain = 1;
|
res->nxdomain = 1;
|
||||||
if(msg_security == sec_status_secure)
|
if(msg_security == sec_status_secure)
|
||||||
res->secure = 1;
|
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;
|
res->bogus = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue