mirror of
https://github.com/noDRM/DeDRM_tools.git
synced 2024-11-05 13:36:10 +06:00
Try new openssl library name
This commit is contained in:
parent
76a47e0dd0
commit
d7ddc2ab93
|
@ -115,7 +115,9 @@ if iswindows:
|
||||||
|
|
||||||
def _load_crypto_libcrypto():
|
def _load_crypto_libcrypto():
|
||||||
from ctypes.util import find_library
|
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:
|
if libcrypto is None:
|
||||||
raise ADEPTError('libcrypto not found')
|
raise ADEPTError('libcrypto not found')
|
||||||
libcrypto = CDLL(libcrypto)
|
libcrypto = CDLL(libcrypto)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user