mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
rename dns_name_copynf() to dns_name_copy()
dns_name_copy() is now the standard name-copying function.
This commit is contained in:
@@ -1472,7 +1472,7 @@ again:
|
||||
* for the NSEC3 NOQNAME proof.
|
||||
*/
|
||||
closest = dns_fixedname_name(&val->closest);
|
||||
dns_name_copynf(wild, closest);
|
||||
dns_name_copy(wild, closest);
|
||||
labels = dns_name_countlabels(closest) - 1;
|
||||
dns_name_getlabelsequence(closest, 1, labels, closest);
|
||||
val->attributes |= VALATTR_NEEDNOQNAME;
|
||||
@@ -2212,7 +2212,7 @@ findnsec3proofs(dns_validator_t *val) {
|
||||
validator_log(val, ISC_LOG_DEBUG(3),
|
||||
"closest encloser from wildcard signature '%s'",
|
||||
namebuf);
|
||||
dns_name_copynf(dns_fixedname_name(&val->closest), closest);
|
||||
dns_name_copy(dns_fixedname_name(&val->closest), closest);
|
||||
closestp = NULL;
|
||||
setclosestp = NULL;
|
||||
} else {
|
||||
@@ -2657,7 +2657,7 @@ seek_ds(dns_validator_t *val, isc_result_t *resp) {
|
||||
dns_name_t *tname = dns_fixedname_initname(&val->fname);
|
||||
|
||||
if (val->labels == dns_name_countlabels(val->event->name)) {
|
||||
dns_name_copynf(val->event->name, tname);
|
||||
dns_name_copy(val->event->name, tname);
|
||||
} else {
|
||||
dns_name_split(val->event->name, val->labels, NULL, tname);
|
||||
}
|
||||
@@ -2893,7 +2893,7 @@ proveunsecure(dns_validator_t *val, bool have_ds, bool resume) {
|
||||
*/
|
||||
val->attributes |= VALATTR_INSECURITY;
|
||||
|
||||
dns_name_copynf(val->event->name, secroot);
|
||||
dns_name_copy(val->event->name, secroot);
|
||||
|
||||
/*
|
||||
* If this is a response to a DS query, we need to look in
|
||||
|
Reference in New Issue
Block a user