]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
3631. [bug] Remove spurious warning about missing signatures when
authorMark Andrews <marka@isc.org>
Wed, 14 Aug 2013 22:04:58 +0000 (08:04 +1000)
committerMark Andrews <marka@isc.org>
Wed, 14 Aug 2013 22:06:48 +0000 (08:06 +1000)
                        qtype is SIG. [RT #34600]

(cherry picked from commit 06ace051e7522b153b487581c9439fc8c162fb18)

CHANGES
bin/named/query.c

diff --git a/CHANGES b/CHANGES
index d9fec3a55c5e4533bbce15040d43cc470e137987..e048272d4c92b5a0eaf27bb42dea124edcfbae3f 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+3631.  [bug]           Remove spurious warning about missing signatures when
+                       qtype is SIG. [RT #34600]
+
 3630.  [bug]           Ensure correct ID computation for MD5 keys. [RT #33033]
 
 3625.  [bug]           Don't send notify messages to machines outside of the
index 067e1bf6c4fb35bcfb79e502344daf28a5900f20..930a941afd993fbbe42cfaf132235fea4100abe5 100644 (file)
@@ -4785,7 +4785,8 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
                                        goto addauth;
                                }
 
-                               if (dns_db_issecure(db)) {
+                               if (qtype == dns_rdatatype_rrsig &&
+                                   dns_db_issecure(db)) {
                                        char namebuf[DNS_NAME_FORMATSIZE];
                                        dns_name_format(client->query.qname,
                                                        namebuf,