Commit 1e9aec00 authored by Ondřej Surý's avatar Ondřej Surý Committed by Grigorii Demidov
Browse files

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

parent 93bb2f43
......@@ -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);
......
Supports Markdown
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