]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
3302. [bug] dns_dnssec_findmatchingkeys could fail to find
authorMark Andrews <marka@isc.org>
Fri, 30 Mar 2012 01:05:13 +0000 (12:05 +1100)
committerMark Andrews <marka@isc.org>
Fri, 30 Mar 2012 01:05:13 +0000 (12:05 +1100)
                        keys if the zone name contained character that
                        required special mappings. [RT #28600]

CHANGES
lib/dns/dnssec.c

diff --git a/CHANGES b/CHANGES
index 07805aabb4f8733c2efb4752148ac03dabe132cb..5dfe715e70bff64777b6700a07ba82c9c6634cd8 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+3302.  [bug]           dns_dnssec_findmatchingkeys could fail to find
+                       keys if the zone name contained character that
+                       required special mappings. [RT #28600]
+
 3301.  [contrib]       Update queryperf to build on darwin.  Add -R flag
                        for non-recursive queries. [RT #28565]
 
index 637f08b59a80d82d6567a6779545fa625193930a..ed945254789a367ed474b990848e3935957b9cae 100644 (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';