delete buffer
This commit is contained in:
parent
3f66ec443f
commit
126afea524
1 changed files with 1 additions and 0 deletions
|
@ -134,6 +134,7 @@ class Encryptor(object):
|
||||||
self.decipher = self.get_cipher(self.key, self.method, 0,
|
self.decipher = self.get_cipher(self.key, self.method, 0,
|
||||||
iv=decipher_iv)
|
iv=decipher_iv)
|
||||||
buf = self.iv_buf[decipher_iv_len:]
|
buf = self.iv_buf[decipher_iv_len:]
|
||||||
|
del self.iv_buf
|
||||||
return self.decipher.update(buf)
|
return self.decipher.update(buf)
|
||||||
else:
|
else:
|
||||||
return b''
|
return b''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue