From f4ea445c66f260394e5973ad5ec0a8b080445043 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 24 Feb 2026 13:30:43 +1100 Subject: [PATCH] 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. (cherry picked from commit f030bc6756c3d4b01fe587205059149d05a4e3b6) --- lib/dns/rdata/generic/nsec3_50.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.47.3