]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
3368. [bug] <dns/iptable.h> and <dns/zone.h> where not C++ safe.
authorMark Andrews <marka@isc.org>
Tue, 21 Aug 2012 06:45:59 +0000 (16:45 +1000)
committerMark Andrews <marka@isc.org>
Tue, 21 Aug 2012 06:46:35 +0000 (16:46 +1000)
CHANGES
lib/dns/include/dns/iptable.h
lib/dns/include/dns/zone.h

diff --git a/CHANGES b/CHANGES
index 618d6748fa0c485090de0db27008db4f7701bd27..b2f294f1ea29047097b7da8de0b6f67c964b0dbd 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+3368.  [bug]           <dns/iptable.h> and <dns/zone.h> where not C++ safe.
+
 3367.  [bug]           dns_dnsseckey_create() result was not being checked.
                        [RT #30685]
 
index d7eb140dc057a25f6c4c23a28388ceb9196fc58f..6662ecb8664b49d221080dc00445610c87aee3c2 100644 (file)
@@ -23,6 +23,8 @@
 #include <isc/magic.h>
 #include <isc/radix.h>
 
+#include <dns/types.h>
+
 struct dns_iptable {
        unsigned int            magic;
        isc_mem_t               *mctx;
index cdafc19f2ba2856f4a4d1f2a346e1a4f5bf26af2..005c7fea0b728827e2595aaa216c7c8311b74224 100644 (file)
@@ -1797,7 +1797,7 @@ dns_zone_setsignatures(dns_zone_t *zone, isc_uint32_t signatures);
 
 isc_result_t
 dns_zone_signwithkey(dns_zone_t *zone, dns_secalg_t algorithm,
-                    isc_uint16_t keyid, isc_boolean_t delete);
+                    isc_uint16_t keyid, isc_boolean_t deleteit);
 /*%<
  * Initiate/resume signing of the entire zone with the zone DNSKEY(s)
  * that match the given algorithm and keyid.