This commit is contained in:
esdeathlove 2017-08-01 16:16:32 +08:00
parent df798627b9
commit f3cfa33b07

View file

@ -139,6 +139,7 @@ class OpenSSLCryptoBase(object):
if self._ctx:
ctx_cleanup(self._ctx)
libcrypto.EVP_CIPHER_CTX_free(self._ctx)
self._ctx = None
class OpenSSLAeadCrypto(OpenSSLCryptoBase, AeadCryptoBase):