From d7ddc2ab93f961a57e2920808e3923c76a7f3330 Mon Sep 17 00:00:00 2001 From: Threak Date: Fri, 26 Feb 2021 18:50:10 +0100 Subject: [PATCH] Try new openssl library name --- DeDRM_plugin/adobekey.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DeDRM_plugin/adobekey.py b/DeDRM_plugin/adobekey.py index caa1613..489c595 100644 --- a/DeDRM_plugin/adobekey.py +++ b/DeDRM_plugin/adobekey.py @@ -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)