mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
fixup! Allow negative RRSIGs in the qpcache again
This commit is contained in:
parent
7235a733e0
commit
de189dde40
@ -1540,11 +1540,6 @@ qpcache_find(dns_db_t *db, const dns_name_t *name, dns_dbversion_t *version,
|
|||||||
dns_slabheader_t *nsecheader = NULL, *nsecsig = NULL;
|
dns_slabheader_t *nsecheader = NULL, *nsecsig = NULL;
|
||||||
dns_typepair_t typepair, sigpair;
|
dns_typepair_t typepair, sigpair;
|
||||||
|
|
||||||
if (type == dns_rdatatype_none) {
|
|
||||||
/* We can't search negative cache directly */
|
|
||||||
return ISC_R_NOTFOUND;
|
|
||||||
}
|
|
||||||
|
|
||||||
qpc_search_t search;
|
qpc_search_t search;
|
||||||
qpc_search_init(&search, (qpcache_t *)db, options, __now);
|
qpc_search_init(&search, (qpcache_t *)db, options, __now);
|
||||||
|
|
||||||
@ -1650,7 +1645,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