From 5cac059ef437ea681e881fef3ef0272d6e57b1bf Mon Sep 17 00:00:00 2001 From: Tamas Kocsis Date: Tue, 3 Nov 2020 02:50:21 +0100 Subject: [PATCH] Display warning if SSLCurve native load failed --- src/Crypt/CryptBitcoin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Crypt/CryptBitcoin.py b/src/Crypt/CryptBitcoin.py index c81999dd..518d6420 100644 --- a/src/Crypt/CryptBitcoin.py +++ b/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