summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLegrandin <gooksankoo@hoiptorrow.mailexpire.com>2012-05-10 23:14:19 +0200
committerLegrandin <gooksankoo@hoiptorrow.mailexpire.com>2012-05-10 23:14:19 +0200
commit5faa23c67a2943b007b3c640c73a88c6a6bb9b6f (patch)
tree8c89e8763098db828e59e5e81da1ed91f7baa753
parentc47425619c6e8e7617fc421eb01ebc9ed1f8eb43 (diff)
downloadpycrypto-5faa23c67a2943b007b3c640c73a88c6a6bb9b6f.tar.gz
TDES unit tests got broken. Fixed them again.
-rw-r--r--lib/Crypto/Cipher/DES3.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Crypto/Cipher/DES3.py b/lib/Crypto/Cipher/DES3.py
index 642cb7a..fcbe2b8 100644
--- a/lib/Crypto/Cipher/DES3.py
+++ b/lib/Crypto/Cipher/DES3.py
@@ -61,7 +61,7 @@ class DES3Cipher(blockalgo.BlockAlgo):
"""Initialize a TDES cipher object
See also `new()` at the module level."""
- blockalgo.BlockAlgo.__init__(self, _DES, key, *args, **kwargs)
+ blockalgo.BlockAlgo.__init__(self, _DES3, key, *args, **kwargs)
def new(key, *args, **kwargs):
"""Create a new TDES cipher