fix libcrypto on Windows
This commit is contained in:
parent
b47de1dcf6
commit
9e8aa1c56a
1 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,8 @@ def load_openssl():
|
||||||
|
|
||||||
libcrypto.EVP_CIPHER_CTX_cleanup.argtypes = (c_void_p,)
|
libcrypto.EVP_CIPHER_CTX_cleanup.argtypes = (c_void_p,)
|
||||||
libcrypto.EVP_CIPHER_CTX_free.argtypes = (c_void_p,)
|
libcrypto.EVP_CIPHER_CTX_free.argtypes = (c_void_p,)
|
||||||
|
if hasattr(libcrypto, 'OpenSSL_add_all_ciphers'):
|
||||||
|
libcrypto.OpenSSL_add_all_ciphers()
|
||||||
|
|
||||||
buf = create_string_buffer(buf_size)
|
buf = create_string_buffer(buf_size)
|
||||||
loaded = True
|
loaded = True
|
||||||
|
|
Loading…
Reference in a new issue