2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

3302. [bug] dns_dnssec_findmatchingkeys could fail to find

keys if the zone name contained character that
                        required special mappings. [RT #28600]
This commit is contained in:
Mark Andrews
2012-03-30 12:05:13 +11:00
parent 8806d43498
commit 840659f1d7
2 changed files with 5 additions and 1 deletions

View File

@@ -1254,7 +1254,7 @@ dns_dnssec_findmatchingkeys(dns_name_t *origin, const char *directory,
isc_dir_init(&dir);
isc_buffer_init(&b, namebuf, sizeof(namebuf) - 1);
RETERR(dns_name_totext(origin, ISC_FALSE, &b));
RETERR(dns_name_tofilenametext(origin, ISC_FALSE, &b));
len = isc_buffer_usedlength(&b);
namebuf[len] = '\0';