Skip to content
Permalink
Browse files

Fix crasher on Mac OS X 10.15.1.

  • Loading branch information
richardkiss committed Nov 11, 2019
1 parent bbd67cc commit 6fed8a51981bbd3b47b6f2da5d6bda36a7f602a4
Showing with 6 additions and 1 deletion.
  1. +6 −1 pycoin/ecdsa/native/openssl.py
@@ -33,7 +33,12 @@ def load_library():
library_path = ctypes.util.find_library('libeay32')

else:
library_path = ctypes.util.find_library('crypto')
# on Mac OS 10.15.1 trying to load "libcrypto" crashes
# but crypto.0.9.8 works, so try to load that one first
for p in ["crypto.0.9.8", "crypto"]:
library_path = ctypes.util.find_library(p)
if library_path:
break

if library_path is None:
return None

0 comments on commit 6fed8a5

Please sign in to comment.
You can’t perform that action at this time.