Skip to content

Commit 298159f

Browse files
authored
Merge pull request #447 from codeape2/patch-1
Update rijndael.py
2 parents 98b3308 + 0845b1d commit 298159f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tlslite/utils/rijndael.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ def decrypt(self, ciphertext):
10411041
"""Decrypt a block of ciphertext."""
10421042
if len(ciphertext) != self.block_size:
10431043
raise ValueError('wrong block length, expected {0} got {1}'
1044-
.format(self.block_size, len(plaintext)))
1044+
.format(self.block_size, len(ciphertext)))
10451045
Kd = self.Kd
10461046

10471047
BC = self.block_size // 4

0 commit comments

Comments
 (0)