]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
Fix relativization in RRSIG to_text()
authorBob Halley <halley@dnspython.org>
Thu, 19 Jun 2014 13:21:39 +0000 (06:21 -0700)
committerBob Halley <halley@dnspython.org>
Thu, 19 Jun 2014 13:21:39 +0000 (06:21 -0700)
ChangeLog
dns/rdtypes/ANY/RRSIG.py

index 57fc87f47cfada9b89c687425d2f37d01953b23a..903b5890bc04c8061458fa569611e13aa2c32a94 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 63d389cd7ae263a2a51487dbf8cbbbc588730a06..98c548dff2985a9e044ac16fd05e4d4f12921e54 100644 (file)
@@ -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)
             )