and stores the rrsets in the cache. Further referral (nonRD queries)
replies are made from the rrset cache directly. Unless unchecked
rrsets are encountered, there are then validated.
+ - enforce that signing is done by a parent domain (or same domain).
27 August 2007: Wouter
- do not garble the edns if a cache answer fails.
verbose(VERB_ALGO, "verify: malformed signer name");
return sec_status_bogus; /* signer name invalid */
}
+ if(!dname_subdomain_c(rrset->rk.dname, signer)) {
+ verbose(VERB_ALGO, "verify: signer name is off-tree");
+ return sec_status_bogus; /* signer name offtree */
+ }
sigblock = (unsigned char*)signer+signer_len;
if(siglen < 2+18+signer_len+1) {
verbose(VERB_ALGO, "verify: too short, no signature data");