mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
update copyright notice
This commit is contained in:
@@ -99,10 +99,10 @@ dns_nsec_isset(const unsigned char *array, unsigned int type);
|
||||
*/
|
||||
|
||||
isc_result_t
|
||||
dns_nsec_noexistnodata(dns_rdatatype_t type, dns_name_t *name,
|
||||
dns_name_t *nsecname, dns_rdataset_t *nsecset,
|
||||
isc_boolean_t *exists, isc_boolean_t *data,
|
||||
dns_name_t *wild, dns_nseclog_t log, void *arg);
|
||||
dns_nsec_noexistnodata(dns_rdatatype_t type, dns_name_t *name,
|
||||
dns_name_t *nsecname, dns_rdataset_t *nsecset,
|
||||
isc_boolean_t *exists, isc_boolean_t *data,
|
||||
dns_name_t *wild, dns_nseclog_t log, void *arg);
|
||||
/*%
|
||||
* Return ISC_R_SUCCESS if we can determine that the name doesn't exist
|
||||
* or we can determine whether there is data or not at the name.
|
||||
|
@@ -4519,23 +4519,23 @@ findnoqname(fetchctx_t *fctx, dns_name_t *name, dns_rdatatype_t type,
|
||||
dns_name_format(nsec, namebuf, sizeof(namebuf));
|
||||
if (nrdataset->type == dns_rdatatype_nsec &&
|
||||
NXND(dns_nsec_noexistnodata(type, name, nsec,
|
||||
nrdataset, &exists,
|
||||
nrdataset, &exists,
|
||||
&data, NULL, log,
|
||||
fctx)))
|
||||
fctx)))
|
||||
{
|
||||
if (!exists)
|
||||
*noqname = nsec;
|
||||
}
|
||||
|
||||
if (nrdataset->type == dns_rdatatype_nsec3 &&
|
||||
NXND(dns_nsec3_noexistnodata(type, name, nsec,
|
||||
nrdataset, zonename,
|
||||
&exists, &data,
|
||||
NXND(dns_nsec3_noexistnodata(type, name, nsec,
|
||||
nrdataset, zonename,
|
||||
&exists, &data,
|
||||
&optout, &unknown,
|
||||
&setclosest,
|
||||
&setnearest,
|
||||
closest, nearest,
|
||||
log, fctx)))
|
||||
log, fctx)))
|
||||
{
|
||||
if (!exists && setnearest)
|
||||
*noqname = nsec;
|
||||
@@ -4877,7 +4877,7 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_adbaddrinfo_t *addrinfo,
|
||||
isc_result_t tresult;
|
||||
dns_name_t *noqname = NULL;
|
||||
tresult = findnoqname(fctx, name,
|
||||
rdataset->type, &noqname);
|
||||
rdataset->type, &noqname);
|
||||
if (tresult == ISC_R_SUCCESS &&
|
||||
noqname != NULL) {
|
||||
tresult = dns_rdataset_addnoqname(
|
||||
|
@@ -2546,7 +2546,7 @@ findnsec3proofs(dns_validator_t *val) {
|
||||
unknown = ISC_FALSE;
|
||||
result = dns_nsec3_noexistnodata(val->event->type,
|
||||
val->event->name,
|
||||
name, rdataset, zonename,
|
||||
name, rdataset, zonename,
|
||||
&exists, &data, &optout,
|
||||
&unknown, setclosestp,
|
||||
&setnearest, closestp,
|
||||
|
Reference in New Issue
Block a user