mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-22 10:10:06 +00:00
fixup! Allow negative RRSIGs in the qpcache again
This commit is contained in:
parent
7235a733e0
commit
da3e409b21
@ -1629,10 +1629,11 @@ qpcache_find(dns_db_t *db, const dns_name_t *name, dns_dbversion_t *version,
|
|||||||
/*
|
/*
|
||||||
* Certain DNSSEC types are not subject to CNAME matching
|
* Certain DNSSEC types are not subject to CNAME matching
|
||||||
* (RFC4035, section 2.5 and RFC3007).
|
* (RFC4035, section 2.5 and RFC3007).
|
||||||
|
*
|
||||||
|
* We don't check for RRSIG, because we don't store RRSIG records
|
||||||
|
* directly.
|
||||||
*/
|
*/
|
||||||
if (type == dns_rdatatype_key || type == dns_rdatatype_nsec ||
|
if (type == dns_rdatatype_key || type == dns_rdatatype_nsec) {
|
||||||
type == dns_rdatatype_rrsig)
|
|
||||||
{
|
|
||||||
cname_ok = false;
|
cname_ok = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1650,7 +1651,7 @@ qpcache_find(dns_db_t *db, const dns_name_t *name, dns_dbversion_t *version,
|
|||||||
found = NULL;
|
found = NULL;
|
||||||
foundsig = NULL;
|
foundsig = NULL;
|
||||||
typepair = DNS_TYPEPAIR(type);
|
typepair = DNS_TYPEPAIR(type);
|
||||||
sigpair = !dns_rdatatype_issig(type) ? DNS_SIGTYPEPAIR(type) : 0;
|
sigpair = DNS_SIGTYPEPAIR(type);
|
||||||
nsheader = NULL;
|
nsheader = NULL;
|
||||||
nsecheader = NULL;
|
nsecheader = NULL;
|
||||||
nssig = NULL;
|
nssig = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user