diff options
author | Bob Halley <halley@dnspython.org> | 2014-06-19 06:21:39 -0700 |
---|---|---|
committer | Bob Halley <halley@dnspython.org> | 2014-06-19 06:21:39 -0700 |
commit | f962db12ce3cb46ae61ef3e55ad8369be30447ec (patch) | |
tree | de18c214f759eca52cda19bf9bda408ceaff8a44 | |
parent | a00c285ebc0b3a89494926cba281f68dd56d09c9 (diff) | |
download | dnspython-f962db12ce3cb46ae61ef3e55ad8369be30447ec.tar.gz |
Fix relativization in RRSIG to_text()
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | dns/rdtypes/ANY/RRSIG.py | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -9,6 +9,9 @@ the numeric form of the flags and a set of human-friendly strings. Thanks to Petr Spacek for the patch. + * RRSIGs did not respect relativization settings in to_text(). Thanks + to Brian Smith for reporting the bug and submitting a (slightly different) patch. + 2014-06-18 Bob Halley <halley@dnspython.org> * dns/rdtypes/IN/APL.py: The APL from_wire() method did not accept an diff --git a/dns/rdtypes/ANY/RRSIG.py b/dns/rdtypes/ANY/RRSIG.py index 63d389c..98c548d 100644 --- a/dns/rdtypes/ANY/RRSIG.py +++ b/dns/rdtypes/ANY/RRSIG.py @@ -93,7 +93,7 @@ class RRSIG(dns.rdata.Rdata): posixtime_to_sigtime(self.expiration), posixtime_to_sigtime(self.inception), self.key_tag, - self.signer, + self.signer.choose_relativity(origin, relativize), dns.rdata._base64ify(self.signature) ) |