From: Mark Andrews Date: Tue, 24 Feb 2026 02:30:43 +0000 (+1100) Subject: Remove invalid REQUIRE in NSEC3 fromstruct method X-Git-Tag: v9.21.19~9^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f030bc6756c3d4b01fe587205059149d05a4e3b6;p=thirdparty%2Fbind9.git Remove invalid REQUIRE in NSEC3 fromstruct method The NSEC3 fromstruct method only worked for hash type 1 when it should work for all hash types. --- diff --git a/lib/dns/rdata/generic/nsec3_50.c b/lib/dns/rdata/generic/nsec3_50.c index eb06507d8d9..9429d5dd4fd 100644 --- a/lib/dns/rdata/generic/nsec3_50.c +++ b/lib/dns/rdata/generic/nsec3_50.c @@ -287,7 +287,6 @@ fromstruct_nsec3(ARGS_FROMSTRUCT) { REQUIRE(nsec3->common.rdtype == type); REQUIRE(nsec3->common.rdclass == rdclass); REQUIRE(nsec3->typebits != NULL || nsec3->len == 0); - REQUIRE(nsec3->hash == dns_hash_sha1); UNUSED(type); UNUSED(rdclass);