Skip to content

Commit 8587503

Browse files
committed
Merge petertodd#288: Update key.py
4702052 Update key.py (User087) Pull request description: To resolve the error `FileNotFoundError: Could not find module 'libeay32' (or one of its dependencies). Try using the full path with constructor syntax.` occurring on Windows, as mentioned in petertodd#262. This fix was just a guess that appears to have worked for me in my use case; perhaps someone else can chip in on whether it's actually a general solution to the aforementioned issue? Top commit has no ACKs. Tree-SHA512: dd1ef053525d8c0e5857c214e457a9c1703dc54298e7845e63f6c29446facca55e7be72a4fb061c095d99d343da01f1325d2c5492d9f374346c89e0486fa8ff0
2 parents e5e2a36 + 4702052 commit 8587503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitcoin/core/key.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import bitcoin.core.script
2626

2727
_ssl = ctypes.cdll.LoadLibrary(
28-
ctypes.util.find_library('ssl.35') or ctypes.util.find_library('ssl') or 'libeay32'
28+
ctypes.util.find_library('ssl.35') or ctypes.util.find_library('ssl') or ctypes.util.find_library('libeay32')
2929
)
3030

3131
_libsecp256k1_path = ctypes.util.find_library('secp256k1')

0 commit comments

Comments
 (0)