Changed SSL handshake error to level MEDIUM instead of FAIL

This commit is contained in:
Thulinma 2017-11-23 10:20:39 +01:00
parent 891696df83
commit 5ebbdf3f3b

View file

@ -53,7 +53,7 @@ namespace Mist{
// do the SSL handshake
while ((ret = mbedtls_ssl_handshake(&ssl)) != 0){
if (ret != MBEDTLS_ERR_SSL_WANT_READ && ret != MBEDTLS_ERR_SSL_WANT_WRITE){
FAIL_MSG("Could not handshake, SSL error: %d", ret);
MEDIUM_MSG("Could not handshake, SSL error: %d", ret);
C.close();
return;
}else{