]> wagner.pp.ru Git - oss/ctypescrypto.git/commitdiff
Fix an error forgotten in previous commit
authorVictor Wagner <vitus@wagner.pp.ru>
Sat, 6 Feb 2016 15:23:36 +0000 (18:23 +0300)
committerVictor Wagner <vitus@wagner.pp.ru>
Sat, 6 Feb 2016 15:23:36 +0000 (18:23 +0300)
ctypescrypto/cipher.py

index b4a00cfac932426bb4f3e788bb52eabf73e4b03e..4c9ff76b4db6781818cf0314e4226ba9f82192ac 100644 (file)
@@ -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, )