diff options
author | Nick Mathewson <nickm@torproject.org> | 2003-10-15 23:42:44 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2003-10-15 23:42:44 +0000 |
commit | f81178a312b3ac5f7beb6a8efe1a00e3959d5f37 (patch) | |
tree | 8fc850e222f33ee6b2d273b6917e90cdfbc9447a /src/common | |
parent | 66d74482586172dfca0910dcb35d014c6c03f744 (diff) | |
download | tor-f81178a312b3ac5f7beb6a8efe1a00e3959d5f37.tar tor-f81178a312b3ac5f7beb6a8efe1a00e3959d5f37.tar.gz |
Add more logging on some ssl errors.
svn:r603
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/tortls.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c index e54c44d31..f2fddaa49 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -80,11 +80,13 @@ tor_tls_get_error(tor_tls *tls, int r, int extra, return _TOR_TLS_SYSCALL; assert(severity != LOG_ERR); /* XXX remove me when the bug is found */ log(severity, "TLS error: <syscall error>."); + tls_log_error(severity, doing); return TOR_TLS_ERROR; case SSL_ERROR_ZERO_RETURN: if (extra&CATCH_ZERO) return _TOR_TLS_ZERORETURN; log(severity, "TLS error: Zero return"); + tls_log_error(severity, doing); return TOR_TLS_ERROR; default: tls_log_error(severity, doing); |