X-Git-Url: https://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=ctypescrypto%2Fcipher.py;h=4c9ff76b4db6781818cf0314e4226ba9f82192ac;hb=f5204fee781bb2ed2314e9fd6b056af005f90dad;hp=b4a00cfac932426bb4f3e788bb52eabf73e4b03e;hpb=1d33b9e56df38c611807c85e08753aac1e0b5b2b;p=oss%2Fctypescrypto.git 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, )