typo fix in aes transport

This commit is contained in:
n1nj4sec 2016-06-07 21:20:36 +02:00
parent 62311846ed
commit 9505c85abd
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class AESTransport(BasePupyTransport):
try: try:
enc=data.peek() enc=data.peek()
if self._iv_dec is None: #receive IV if self._iv_dec is None: #receive IV
if len(data)<BLOCK_SIZE: if len(enc)<BLOCK_SIZE:
return return
self._iv_dec=enc[0:BLOCK_SIZE] self._iv_dec=enc[0:BLOCK_SIZE]
if AES is not None: if AES is not None: