mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
the length of the NULL record RDATA can be zero;
do not assert the contrary
This commit is contained in:
parent
c05a979fda
commit
08a44b06ef
@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: null_10.c,v 1.32 2001/03/16 22:52:55 bwelling Exp $ */
|
||||
/* $Id: null_10.c,v 1.33 2001/06/20 17:43:31 gson Exp $ */
|
||||
|
||||
/* Reviewed: Thu Mar 16 13:57:50 PST 2000 by explorer */
|
||||
|
||||
@ -82,8 +82,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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user