Browse Source

Display warning if SSLCurve native load failed

pull/2635/merge
Tamas Kocsis 2 years ago
parent
commit
5cac059ef4
  1. 2
      src/Crypt/CryptBitcoin.py

2
src/Crypt/CryptBitcoin.py

@ -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

Loading…
Cancel
Save