]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Consolidate NSEC/NSEC3/CSYNC bitmap handling.
authorBrian Wellington <bwelling@xbill.org>
Thu, 2 Jul 2020 22:29:25 +0000 (15:29 -0700)
committerBrian Wellington <bwelling@xbill.org>
Thu, 2 Jul 2020 22:29:25 +0000 (15:29 -0700)
commit6d3062b5cd6e2254743f177c54e92def9b9e8a9e
treea059d952023e26057ba8a3bcf735b96097eba421
parent5c06d9800914bdf2043b30f8e90dad1cda111915
Consolidate NSEC/NSEC3/CSYNC bitmap handling.

This also fixes several bugs; the NSEC3 code would properly avoid empty
windows, but the NSEC and CSYNC code did not.  Also, none of the wire
parsing routines properly checked to see that the window number was
monotonically increasing.
dns/rdtypes/ANY/CSYNC.py
dns/rdtypes/ANY/NSEC.py
dns/rdtypes/ANY/NSEC3.py
dns/rdtypes/util.py
tests/test_nsec3.py