summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Halley <halley@play-bow.org>2014-07-16 06:18:30 -0700
committerBob Halley <halley@play-bow.org>2014-07-16 06:18:30 -0700
commit25e63131e8e209a5b575e2ac0aaea50c5719e6d3 (patch)
tree5281c7660df4b7d1846bb9c0fc50f20a1f079f91
parent5bb31eb605b0109d02d6037098983b06e3b2ca98 (diff)
parentfcde73a2b6c323e55eaf74192885b2d4922a719a (diff)
downloaddnspython-25e63131e8e209a5b575e2ac0aaea50c5719e6d3.tar.gz
Merge pull request #76 from bastiak/master
NSEC3PARAM should allow only 4 parts of data
-rw-r--r--dns/rdtypes/ANY/NSEC3PARAM.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/dns/rdtypes/ANY/NSEC3PARAM.py b/dns/rdtypes/ANY/NSEC3PARAM.py
index 4e68782..f514991 100644
--- a/dns/rdtypes/ANY/NSEC3PARAM.py
+++ b/dns/rdtypes/ANY/NSEC3PARAM.py
@@ -56,6 +56,7 @@ class NSEC3PARAM(dns.rdata.Rdata):
salt = ''
else:
salt = salt.decode('hex-codec')
+ tok.get_eol()
return cls(rdclass, rdtype, algorithm, flags, iterations, salt)
from_text = classmethod(from_text)