Try new openssl library name

This commit is contained in:
Threak 2021-02-26 18:50:10 +01:00
parent 76a47e0dd0
commit d7ddc2ab93

View file

@ -115,7 +115,9 @@ if iswindows:
def _load_crypto_libcrypto():
from ctypes.util import find_library
libcrypto = find_library('libeay32')
libcrypto = find_library('libcrypto-1_1')
if libcrypto is None:
libcrypto = find_library('libeay32')
if libcrypto is None:
raise ADEPTError('libcrypto not found')
libcrypto = CDLL(libcrypto)