]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Specifying sig-signing-type causes named to fail
authorMark Andrews <marka@isc.org>
Thu, 16 Sep 2021 00:30:37 +0000 (10:30 +1000)
committerMark Andrews <marka@isc.org>
Thu, 16 Sep 2021 08:17:22 +0000 (18:17 +1000)
the range check error was being applied unconditionally

lib/bind9/check.c

index 01ad26803e3a9fb8f3f0bc1ebf8fd94307710cfd..5cc360624e895f75b42d2e7542523b2a19794567 100644 (file)
@@ -3237,8 +3237,8 @@ check_zoneconf(const cfg_obj_t *zconfig, const cfg_obj_t *voptions,
                                            "sig-signing-type: %u out of "
                                            "range [%u..%u]",
                                            type, 0xff00U, 0xffffU);
+                               result = ISC_R_FAILURE;
                        }
-                       result = ISC_R_FAILURE;
                }
 
                obj = NULL;