From: Mark Andrews Date: Wed, 20 Jun 2001 23:16:38 +0000 (+0000) Subject: the length of the NULL record RDATA can be zero; X-Git-Tag: v9.1.3rc3~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd929b8619303beebf0b9f9a27e9cae125815bbf;p=thirdparty%2Fbind9.git the length of the NULL record RDATA can be zero; do not assert the contrary --- diff --git a/lib/dns/rdata/generic/null_10.c b/lib/dns/rdata/generic/null_10.c index fb378cdb5af..8a2842d9be7 100644 --- a/lib/dns/rdata/generic/null_10.c +++ b/lib/dns/rdata/generic/null_10.c @@ -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);