diff --git a/src/lib/dns/rdata/generic/nsec3_50.cc b/src/lib/dns/rdata/generic/nsec3_50.cc index 802d3db9d7..895683363a 100644 --- a/src/lib/dns/rdata/generic/nsec3_50.cc +++ b/src/lib/dns/rdata/generic/nsec3_50.cc @@ -92,7 +92,7 @@ NSEC3::NSEC3(const string& nsec3_str) : } vector salt; - if (salthex != "-") { // "-" means an 0-length salt + if (salthex != "-") { // "-" means a 0-length salt decodeHex(salthex, salt); } if (salt.size() > 255) { diff --git a/src/lib/dns/tests/testdata/gen-wiredata.py.in b/src/lib/dns/tests/testdata/gen-wiredata.py.in index 379d748be3..645430c63f 100755 --- a/src/lib/dns/tests/testdata/gen-wiredata.py.in +++ b/src/lib/dns/tests/testdata/gen-wiredata.py.in @@ -278,6 +278,9 @@ class TXT: wirestring_list[i])) class NSECBASE: + '''Implements rendering NSEC/NSEC3 type bitmaps commonly used for + these RRs. The NSEC and NSEC3 classes will be inherited from this + class.''' nbitmap = 1 # number of bitmaps block = 0 maplen = None # default bitmap length, auto-calculate