]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
4049. [bug] CDS and CDNSKEY had the wrong attributes. [RT #38491]
authorMark Andrews <marka@isc.org>
Fri, 30 Jan 2015 10:48:28 +0000 (21:48 +1100)
committerMark Andrews <marka@isc.org>
Fri, 30 Jan 2015 10:49:34 +0000 (21:49 +1100)
(cherry picked from commit e77ef50a57091eeb70d0a6d021638c92442c8f0a)

CHANGES
lib/dns/rdata/generic/cdnskey_60.c
lib/dns/rdata/generic/cds_59.c

diff --git a/CHANGES b/CHANGES
index 72411eec6832eba122e87c96feea40442b5bb364..12848245c2e3d24d685937df35060ae9da962b39 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+4049.  [bug]           CDS and CDNSKEY had the wrong attributes. [RT #38491]
+
 4048.  [bug]           adb hash table was not being grown. [RT #38470]
 
        --- 9.9.7rc1 released ---
index a1e681403b75724b103f9432e92d1049e07082b4..c0a07f680831815298b92be7d4fc6b33d29c6713 100644 (file)
@@ -27,7 +27,7 @@
 
 #include <dst/dst.h>
 
-#define RRTYPE_CDNSKEY_ATTRIBUTES (DNS_RDATATYPEATTR_DNSSEC)
+#define RRTYPE_CDNSKEY_ATTRIBUTES 0
 
 static inline isc_result_t
 fromtext_cdnskey(ARGS_FROMTEXT) {
index fcf49662c46a3dd7ff65c61f863f6e6dfccf5f3b..f1ac9ee94fa7a8b5ec1b116144360f37cc3fca26 100644 (file)
@@ -21,8 +21,7 @@
 #ifndef RDATA_GENERIC_CDS_59_C
 #define RDATA_GENERIC_CDS_59_C
 
-#define RRTYPE_CDS_ATTRIBUTES \
-       (DNS_RDATATYPEATTR_DNSSEC|DNS_RDATATYPEATTR_ATPARENT)
+#define RRTYPE_CDS_ATTRIBUTES 0
 
 #include <isc/sha1.h>
 #include <isc/sha2.h>