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 f030bc6756)
This commit is contained in:
Mark Andrews 2026-02-24 13:30:43 +11:00 committed by Ondřej Surý
parent 6fb01d751d
commit f4ea445c66

View file

@ -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);