summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2014-07-16 14:15:29 +0200
committerMartin Basti <mbasti@redhat.com>2014-07-16 14:15:29 +0200
commitfcde73a2b6c323e55eaf74192885b2d4922a719a (patch)
tree96c91554696902fbf1c22a55090bf885bb52404d
parent42a85bfb058e6d59b7674651c6fba3aebd8a3481 (diff)
downloaddnspython-fcde73a2b6c323e55eaf74192885b2d4922a719a.tar.gz
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)