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.
This commit is contained in:
Mark Andrews 2026-02-24 13:30:43 +11:00 committed by Ondřej Surý
parent 7b737bc1c4
commit f030bc6756
No known key found for this signature in database
GPG key ID: 2820F37E873DEA41

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