We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98b3308 commit 0845b1dCopy full SHA for 0845b1d
tlslite/utils/rijndael.py
@@ -1041,7 +1041,7 @@ def decrypt(self, ciphertext):
1041
"""Decrypt a block of ciphertext."""
1042
if len(ciphertext) != self.block_size:
1043
raise ValueError('wrong block length, expected {0} got {1}'
1044
- .format(self.block_size, len(plaintext)))
+ .format(self.block_size, len(ciphertext)))
1045
Kd = self.Kd
1046
1047
BC = self.block_size // 4
0 commit comments