summaryrefslogtreecommitdiff
path: root/lib/Crypto/Cipher
diff options
context:
space:
mode:
authorLegrandin <gooksankoo@hoiptorrow.mailexpire.com>2012-05-11 22:57:49 +0200
committerLegrandin <gooksankoo@hoiptorrow.mailexpire.com>2012-05-11 22:57:49 +0200
commit4ce6b8d7f1c070687f0144736dd9a14b4b603b7d (patch)
tree7634a0ee9614ea1be3807c9e3e593c52984a1db6 /lib/Crypto/Cipher
parent5faa23c67a2943b007b3c640c73a88c6a6bb9b6f (diff)
downloadpycrypto-4ce6b8d7f1c070687f0144736dd9a14b4b603b7d.tar.gz
Fixes to make test suite pass for Python 2.1 and Python 3
Diffstat (limited to 'lib/Crypto/Cipher')
-rw-r--r--lib/Crypto/Cipher/AES.py2
-rw-r--r--lib/Crypto/Cipher/DES3.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Crypto/Cipher/AES.py b/lib/Crypto/Cipher/AES.py
index 83ae7c5..6b31686 100644
--- a/lib/Crypto/Cipher/AES.py
+++ b/lib/Crypto/Cipher/AES.py
@@ -92,5 +92,5 @@ MODE_CTR = 6
#: Size of a data block (in bytes)
block_size = 16
#: Size of a key (in bytes)
-key_size = { 16, 24, 32 }
+key_size = ( 16, 24, 32 )
diff --git a/lib/Crypto/Cipher/DES3.py b/lib/Crypto/Cipher/DES3.py
index fcbe2b8..5015152 100644
--- a/lib/Crypto/Cipher/DES3.py
+++ b/lib/Crypto/Cipher/DES3.py
@@ -108,4 +108,4 @@ MODE_CTR = 6
#: Size of a data block (in bytes)
block_size = 8
#: Size of a key (in bytes)
-key_size = { 16, 24 }
+key_size = ( 16, 24 )