]> 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:21 +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 243ff0bc861609216d20558785dffe37c93231e1..2705bf661017c528e1279b94cef49e17344cb802 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]
 
 3627.  [bug]           RPZ changes were not effective on slaves. [RT #34450]
index 8c589841396bfbcd944baffb661b67d8b9e03481..973219a150f704e5db1c3fa346d047fc41a6b2a5 100644 (file)
@@ -6814,7 +6814,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,