Skip to content
Snippets Groups Projects
Commit 2e812c1d authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Fix 'bogus proof of DS non-existence' for non-existant DS records in the cache

parent 78cb3f07
Branches
Tags
No related merge requests found
......@@ -183,8 +183,9 @@ static int commit_rr(const char *key, void *val, void *data)
if (rr->type != KNOT_RRTYPE_NS || (rank & KR_RANK_AUTH)) {
if (baton->qry->flags & QUERY_DNSSEC_WANT)
rank |= KR_RANK_SECURE;
if (baton->qry->flags & QUERY_DNSSEC_INSECURE)
rank |= KR_RANK_INSECURE;
}
if (baton->qry->flags & QUERY_DNSSEC_INSECURE) {
rank |= KR_RANK_INSECURE;
}
if (KEY_COVERING_RRSIG(key)) {
return commit_rrsig(baton, rank, rr);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment