}
/* Check if any DNSKEY found for cached cut */
if (qry->flags.DNSSEC_WANT && cut_found.key == NULL &&
- !kr_zonecut_is_any_glue(&cut_found)) {
+ !kr_zonecut_has_glue(&cut_found)) {
/* Cut found and there are no proofs of zone insecurity.
* But no DNSKEY found and no glue fetched.
* We have got circular dependency - must fetch A\AAAA
return map_get(nsset, key);
}
-static int is_any_glue(const char *k, void *v, void *baton)
+static int has_glue(const char *k, void *v, void *baton)
{
bool *glue_found = (bool *)baton;
if (*glue_found) {
return kr_ok();
}
-bool kr_zonecut_is_any_glue(struct kr_zonecut *cut)
+bool kr_zonecut_has_glue(struct kr_zonecut *cut)
{
if (!cut) {
return false;
bool glue_found = false;
map_t *nsset = &cut->nsset;
- map_walk(nsset, is_any_glue, &glue_found);
+ map_walk(nsset, has_glue, &glue_found);
return glue_found;
}