]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Improve consistency in DNSSEC code.
authorBrian Wellington <bwelling@xbill.org>
Fri, 15 May 2020 23:47:35 +0000 (16:47 -0700)
committerBrian Wellington <bwelling@xbill.org>
Fri, 15 May 2020 23:47:35 +0000 (16:47 -0700)
commitac861662a9f6ed163449281c5600a3ed42930786
treeefbda36c29b40944dd38fa150ac073426feac14a
parent61989e1303ce209dce675aaef4419204a169a208
Improve consistency in DNSSEC code.

The make_ds method took its algorithm as a string, and the nsec3_hash
method took an algorithm as an int.  Change both of them to accept
either, and add enums for both sets of algorithms.
dns/dnssec.py
tests/test_dnssec.py
tests/test_nsec3_hash.py