mirror of
https://github.com/noDRM/DeDRM_tools.git
synced 2026-03-20 04:58:56 +00:00
Merge branch 'Python2': Get the changes to fix Kindle key retrieval for Mac OS X Big Sur
This commit is contained in:
@@ -1174,8 +1174,11 @@ elif isosx:
|
||||
|
||||
libcrypto = find_library('crypto')
|
||||
if libcrypto is None:
|
||||
raise DrmException("libcrypto not found")
|
||||
libcrypto = CDLL(libcrypto)
|
||||
libcrypto = '/usr/lib/libcrypto.dylib'
|
||||
try:
|
||||
libcrypto = CDLL(libcrypto)
|
||||
except Exception as e:
|
||||
raise DrmException("libcrypto not found: " % e)
|
||||
|
||||
# From OpenSSL's crypto aes header
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user