]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
the length of the NULL record RDATA can be zero;
authorMark Andrews <marka@isc.org>
Wed, 20 Jun 2001 23:16:38 +0000 (23:16 +0000)
committerMark Andrews <marka@isc.org>
Wed, 20 Jun 2001 23:16:38 +0000 (23:16 +0000)
do not assert the contrary

lib/dns/rdata/generic/null_10.c

index fb378cdb5af2a24c3c8224325fc6da14f62275a4..8a2842d9be7c1e0159548f6662ade485d86168db 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: null_10.c,v 1.30.4.1 2001/01/09 22:47:18 bwelling Exp $ */
+/* $Id: null_10.c,v 1.30.4.2 2001/06/20 23:16:38 marka Exp $ */
 
 /* Reviewed: Thu Mar 16 13:57:50 PST 2000 by explorer */
 
@@ -81,8 +81,6 @@ compare_null(ARGS_COMPARE) {
        REQUIRE(rdata1->type == rdata1->type);
        REQUIRE(rdata1->rdclass == rdata2->rdclass);
        REQUIRE(rdata1->type == 10);
-       REQUIRE(rdata1->length != 0);
-       REQUIRE(rdata2->length != 0);
 
        dns_rdata_toregion(rdata1, &r1);
        dns_rdata_toregion(rdata2, &r2);