Try new openssl library name

This commit is contained in:
Threak 2021-02-26 18:50:10 +01:00
parent 76a47e0dd0
commit d7ddc2ab93
1 changed files with 3 additions and 1 deletions

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)