[Python-modules-commits] r28822 - in packages/python-crypto/trunk/debian (3 files)
sramacher at users.alioth.debian.org
sramacher at users.alioth.debian.org
Sat May 10 17:29:44 UTC 2014
Date: Saturday, May 10, 2014 @ 17:29:43
Author: sramacher
Revision: 28822
debian/patches/asn1-decoding.patch: Fix TypeError in ASN1 implementation.
Thanks to Stefanos Harhalakis for the patch. (Closes: #746180)
Added:
packages/python-crypto/trunk/debian/patches/asn1-decoding.patch
Modified:
packages/python-crypto/trunk/debian/changelog
packages/python-crypto/trunk/debian/patches/series
Modified: packages/python-crypto/trunk/debian/changelog
===================================================================
--- packages/python-crypto/trunk/debian/changelog 2014-05-10 01:38:23 UTC (rev 28821)
+++ packages/python-crypto/trunk/debian/changelog 2014-05-10 17:29:43 UTC (rev 28822)
@@ -1,3 +1,10 @@
+python-crypto (2.6.1-5) unstable; urgency=medium
+
+ * debian/patches/asn1-decoding.patch: Fix TypeError in ASN1 implementation.
+ Thanks to Stefanos Harhalakis for the patch. (Closes: #746180)
+
+ -- Sebastian Ramacher <sramacher at debian.org> Sat, 10 May 2014 19:27:03 +0200
+
python-crypto (2.6.1-4) unstable; urgency=medium
* debian/python3-crypto{,-dbg}.install: Fix wildcards to not include debug
Added: packages/python-crypto/trunk/debian/patches/asn1-decoding.patch
===================================================================
--- packages/python-crypto/trunk/debian/patches/asn1-decoding.patch (rev 0)
+++ packages/python-crypto/trunk/debian/patches/asn1-decoding.patch 2014-05-10 17:29:43 UTC (rev 28822)
@@ -0,0 +1,27 @@
+Description: Fix TypeError in ASN1 implementation
+Author: Stefanos Harhalakis <v13 at v13.gr>
+Last-Update: 2014-05-10
+Forwarded: not-needed
+Bug-Debian: https://bugs.debian.org/746180
+
+diff -Nur python-crypto-2.6.1.orig/lib/Crypto/Util/asn1.py python-crypto-2.6.1/lib/Crypto/Util/asn1.py
+--- python-crypto-2.6.1.orig/lib/Crypto/Util/asn1.py 2013-10-14 22:38:10.000000000 +0100
++++ python-crypto-2.6.1/lib/Crypto/Util/asn1.py 2014-04-27 19:27:11.602641108 +0100
+@@ -257,7 +257,7 @@
+ self.payload = value
+
+ def decode(self, derEle, noLeftOvers=0):
+- p = DerObject.decode(derEle, noLeftOvers)
++ p = DerObject.decode(self, derEle, noLeftOvers)
+ if not self.isType("OCTET STRING"):
+ raise ValueError("Not a valid OCTET STRING.")
+ return p
+@@ -271,7 +271,7 @@
+ DerObject.__init__(self, 'OBJECT IDENTIFIER')
+
+ def decode(self, derEle, noLeftOvers=0):
+- p = DerObject.decode(derEle, noLeftOvers)
++ p = DerObject.decode(self, derEle, noLeftOvers)
+ if not self.isType("OBJECT IDENTIFIER"):
+ raise ValueError("Not a valid OBJECT IDENTIFIER.")
+ return p
Modified: packages/python-crypto/trunk/debian/patches/series
===================================================================
--- packages/python-crypto/trunk/debian/patches/series 2014-05-10 01:38:23 UTC (rev 28821)
+++ packages/python-crypto/trunk/debian/patches/series 2014-05-10 17:29:43 UTC (rev 28822)
@@ -8,3 +8,4 @@
multiprocessing-test.patch
unittest-stream.patch
deprecated-test-methods.patch
+asn1-decoding.patch
More information about the Python-modules-commits
mailing list