Update NSEC3 iterations handling to conform with RFC 9276.

This commit is contained in:
Simon Kelley committed 2024-02-12 23:11:34 +00:00
1 parent be73efc020
commit 51471cafa5
2 files changed
+59 -52

No files matched your search

+2
View File
@@ -757,6 +757,8 @@ struct dyndir {
#define DNSSEC_FAIL_NONSEC 0x0040 /* No NSEC */
#define DNSSEC_FAIL_NODSSUP 0x0080 /* no supported DS algo. */
#define DNSSEC_FAIL_NOKEY 0x0100 /* no DNSKEY */
#define DNSSEC_FAIL_NSEC3_ITERS 0x0200 /* too many iterations in NSEC3 */
#define DNSSEC_FAIL_BADPACKET 0x0400 /* bad packet */
#define STAT_ISEQUAL(a, b) (((a) & 0xffff0000) == (b))