Merge pull request #1560 from Threak/master

Try new openssl library name
This commit is contained in:
Apprentice Harper 2021-04-11 14:04:04 +01:00 committed by GitHub
commit 01c654cb68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)