and udp send, they are visible at higher verbosity settings.
- Fix zonemd verification of key that is not in DNS but in the zone
and needs a chain of trust.
+ - zonemd, fix order of bogus printout string manipulation.
12 August 2021: George
- Merge PR #514, from ziollek: Docker environment for run tests.
keystorage->rk.dname_len = apex->namelen;
keystorage->rk.type = htons(LDNS_RR_TYPE_DNSKEY);
keystorage->rk.rrset_class = htons(z->dclass);
- auth_zone_log(z->name, VERB_QUERY, "zonemd: verify zone's DNSKEY with DS");
+ auth_zone_log(z->name, VERB_QUERY, "zonemd: verify zone DNSKEY with DS");
sec = val_verify_DNSKEY_with_DS(env, ve, keystorage, ds, NULL,
why_bogus, NULL);
regional_free_all(env->scratch);
} else {
/* bogus */
*is_insecure = 0;
+ if(*why_bogus == NULL)
+ *why_bogus = "verify failed";
auth_zone_log(z->name, VERB_ALGO,
"zonemd: verify DNSKEY RRset with DS failed: %s",
*why_bogus);
- if(*why_bogus == NULL)
- *why_bogus = "verify failed";
}
return NULL;
}