if we're the server-side of the tls and there are problems,

don't yell as loudly.


svn:r6716
This commit is contained in:
Roger Dingledine 2006-07-04 15:51:59 +00:00
parent 5c661654a0
commit 5dc1e6f788

View File

@ -531,7 +531,8 @@ tor_tls_handshake(tor_tls_t *tls)
}
r = tor_tls_get_error(tls,r,0, "handshaking", LOG_INFO);
if (ERR_peek_error() != 0) {
tls_log_errors(LOG_WARN, "handshaking");
tls_log_errors(tls->isServer ? LOG_PROTOCOL_WARN : LOG_WARN,
"handshaking");
return TOR_TLS_ERROR;
}
if (r == TOR_TLS_DONE) {