Skip to content

Commit

Permalink
Display warning if SSLCurve native load failed
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcutme committed Nov 3, 2020
1 parent 8f6e279 commit 5cac059
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Crypt/CryptBitcoin.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ def loadLib(lib_name, silent=False):
)
elif lib_name == "sslcrypto":
sslcurve = sslcurve_native
if sslcurve_native == sslcurve_fallback:
logging.warning("SSLCurve fallback loaded instead of native")
elif lib_name == "sslcrypto_fallback":
sslcurve = sslcurve_fallback

Expand Down

0 comments on commit 5cac059

Please sign in to comment.