diff --git a/src/common/tortls.c b/src/common/tortls.c index e3078a7563a240b305afd7d0df85f988897e15d9..5b6a58de855b326ae0303fd8ba3206199c00b72e 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -97,7 +97,8 @@ tor_tls_get_error(tor_tls *tls, int r, int extra, case SSL_ERROR_SYSCALL: if (extra&CATCH_SYSCALL) return _TOR_TLS_SYSCALL; - log(severity, "TLS error: <syscall error> (errno=%d)",errno); + log(severity, "TLS error: <syscall error> (errno=%d: %s)",errno, + strerror(errno)); tls_log_errors(severity, doing); return TOR_TLS_ERROR; case SSL_ERROR_ZERO_RETURN: