Skip to content
Snippets Groups Projects
Commit 2a264404 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

contents: real previous node from zone search

Don't require the node to be authoritative. This is need for DNSSEC
proofs and this should be handled there.
parent e6b72f7f
No related branches found
No related tags found
1 merge request!570NSEC proofs refactoring
......@@ -118,12 +118,6 @@ int zone_tree_get_less_or_equal(zone_tree_t *tree,
hattrie_iter_free(i);
}
/* Previous node for proof must be non-empty and authoritative. */
if (*previous &&
((*previous)->rrset_count == 0 || (*previous)->flags & NODE_FLAGS_NONAUTH)) {
*previous = (*previous)->prev;
}
return exact_match;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment