diff options
author | Roger Dingledine <arma@torproject.org> | 2006-07-04 15:51:59 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-07-04 15:51:59 +0000 |
commit | 5dc1e6f788f9c62299be82d1a6132f0c454dbb42 (patch) | |
tree | b9dfbbe1522e0b3e7faa9474c45f740c409180a0 /src/common/tortls.c | |
parent | 5c661654a04505a7f40e763c8a206a8c5c546c9a (diff) | |
download | tor-5dc1e6f788f9c62299be82d1a6132f0c454dbb42.tar tor-5dc1e6f788f9c62299be82d1a6132f0c454dbb42.tar.gz |
if we're the server-side of the tls and there are problems,
don't yell as loudly.
svn:r6716
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r-- | src/common/tortls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c index ada32938e..e83fc3f5a 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -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) { |