Display warning if SSLCurve native load failed
This commit is contained in:
parent
8f6e27904c
commit
5cac059ef4
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue