]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
3018. [bug] Named failed to check for the "none;" acl when deciding
authorMark Andrews <marka@isc.org>
Mon, 7 Feb 2011 00:16:48 +0000 (00:16 +0000)
committerMark Andrews <marka@isc.org>
Mon, 7 Feb 2011 00:16:48 +0000 (00:16 +0000)
                        if a zone may need to be re-signed. RT #23120]

CHANGES
lib/dns/zone.c

diff --git a/CHANGES b/CHANGES
index 84f171469f13da35a64fe8bab2f1555fe98749d8..614a63697bc112d5aae2994cbe797157687e5fa0 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+3018.  [bug]           Named failed to check for the "none;" acl when deciding
+                       if a zone may need to be re-signed. RT #23120]
+
 3017.  [doc]           dnssec-keyfromlabel -I was not properly documented.
                        [RT #22887]
 
index 13a00a7f77478395c1c93d0309aaa4536de61f5e..9ebb5c1e7e06cc6685424bdd6340ad9a003f1efc 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zone.c,v 1.540.2.36 2011/02/03 05:38:10 tbox Exp $ */
+/* $Id: zone.c,v 1.540.2.37 2011/02/07 00:16:48 marka Exp $ */
 
 /*! \file */
 
@@ -1590,7 +1590,8 @@ get_master_options(dns_zone_t *zone) {
        if (DNS_ZONE_OPTION(zone, DNS_ZONEOPT_CHECKWILDCARD))
                options |= DNS_MASTER_CHECKWILDCARD;
        if (zone->type == dns_zone_master &&
-           (zone->update_acl != NULL || zone->ssutable != NULL))
+           ((zone->update_acl != NULL && !dns_acl_isnone(zone->update_acl)) ||
+             zone->ssutable != NULL))
                options |= DNS_MASTER_RESIGN;
        return (options);
 }