From: Victor Wagner Date: Sat, 6 Feb 2016 15:23:36 +0000 (+0300) Subject: Fix an error forgotten in previous commit X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=f5204fee781bb2ed2314e9fd6b056af005f90dad;p=oss%2Fctypescrypto.git Fix an error forgotten in previous commit --- diff --git a/ctypescrypto/cipher.py b/ctypescrypto/cipher.py index b4a00cf..4c9ff76 100644 --- a/ctypescrypto/cipher.py +++ b/ctypescrypto/cipher.py @@ -245,7 +245,7 @@ libcrypto.EVP_CIPHER_block_size.argtypes = (c_void_p, ) #Function EVP_CIPHER_CTX_cleanup renamed to EVP_CIPHER_CTX_reset # in the OpenSSL 1.1.0 if hasattr(libcrypto,"EVP_CIPHER_CTX_cleanup"): - Cipher.__ctxcleanup = libcrypto.EVP_CIPHER_CTX_cleanup.argtypes + Cipher.__ctxcleanup = libcrypto.EVP_CIPHER_CTX_cleanup else: Cipher.__ctxcleanup = libcrypto.EVP_CIPHER_CTX_reset Cipher.__ctxcleanup.argtypes = (c_void_p, )