summaryrefslogtreecommitdiff
path: root/lib/Crypto/Signature
diff options
context:
space:
mode:
authorLegrandin <gooksankoo@hoiptorrow.mailexpire.com>2011-02-07 23:16:07 +0100
committerLegrandin <gooksankoo@hoiptorrow.mailexpire.com>2011-02-07 23:16:07 +0100
commit96202299179059138bb4c81873a8e8c61bb4ee3c (patch)
tree880ed8948ea003745cc1f48507b12b9a75db9f00 /lib/Crypto/Signature
parent07e9e97e9d1844e5b5427a5e9164ff848eacde19 (diff)
downloadpycrypto-96202299179059138bb4c81873a8e8c61bb4ee3c.tar.gz
Make PKCS#1 and its test cases work with Python 2.1
Diffstat (limited to 'lib/Crypto/Signature')
-rw-r--r--lib/Crypto/Signature/PKCS1_PSS.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Crypto/Signature/PKCS1_PSS.py b/lib/Crypto/Signature/PKCS1_PSS.py
index 2538788..9dbeff3 100644
--- a/lib/Crypto/Signature/PKCS1_PSS.py
+++ b/lib/Crypto/Signature/PKCS1_PSS.py
@@ -55,6 +55,10 @@ the RSA key:
"""
+# Allow nested scopes in Python 2.1
+# See http://oreilly.com/pub/a/python/2001/04/19/pythonnews.html
+from __future__ import nested_scopes
+
__revision__ = "$Id$"
__all__ = [ 'sign', 'verify' ]