]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2218. [bug] Remove unnecessary REQUIRE from dns_validator_create().
authorMark Andrews <marka@isc.org>
Mon, 27 Aug 2007 04:36:54 +0000 (04:36 +0000)
committerMark Andrews <marka@isc.org>
Mon, 27 Aug 2007 04:36:54 +0000 (04:36 +0000)
                        [RT #16976]

CHANGES
lib/dns/validator.c

diff --git a/CHANGES b/CHANGES
index bf1bc3487826e3946166810c95f9822dd00a698c..243b25021d2911f9b361893a6d39dd3f14786c6f 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+2218.  [bug]           Remove unnecessary REQUIRE from dns_validator_create().
+                       [RT #16976]
+
 2217.  [func]          Adjust update log levels. [RT #17092]
 
 2216.  [cleanup]       Fix a number of errors reported by Coverity.
index 560355868752dfb17da35f090641004c3a63747e..5f116165823208352e10009edf4b5ab822061b76 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: validator.c,v 1.152 2007/06/18 23:47:41 tbox Exp $ */
+/* $Id: validator.c,v 1.153 2007/08/27 04:36:54 marka Exp $ */
 
 #include <config.h>
 
@@ -2817,7 +2817,6 @@ dns_validator_create(dns_view_t *view, dns_name_t *name, dns_rdatatype_t type,
        dns_validatorevent_t *event;
 
        REQUIRE(name != NULL);
-       REQUIRE(type != 0);
        REQUIRE(rdataset != NULL ||
                (rdataset == NULL && sigrdataset == NULL && message != NULL));
        REQUIRE(validatorp != NULL && *validatorp == NULL);