aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-10-25 07:05:03 +0000
committerNick Mathewson <nickm@torproject.org>2005-10-25 07:05:03 +0000
commit932106f54c35b815756d518b236448b9884d6bde (patch)
tree1cb7ab000289de706e5813dfe764a2b3644db797 /src/common/tortls.c
parent452f4cfa09dffc8f9235c9a9bb1bd3e30aee6aa2 (diff)
downloadtor-932106f54c35b815756d518b236448b9884d6bde.tar
tor-932106f54c35b815756d518b236448b9884d6bde.tar.gz
Efficiency hack: call tor_fix_source_file late, not early. Add "BUG" domain. Domains are now bitmasks... just in case. Make some err msgs non-general.
svn:r5309
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r--src/common/tortls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index a4cd730b3..00e7d22e9 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -866,8 +866,8 @@ _check_no_tls_errors(const char *fname, int line)
{
if (ERR_peek_error() == 0)
return;
- log_fn(LOG_WARN, LD_CRYPTO, "Unhandled OpenSSL errors found at %s:%d: ",
- fname, line);
+ log(LOG_WARN, LD_CRYPTO, "Unhandled OpenSSL errors found at %s:%d: ",
+ tor_fix_source_file(fname), line);
tls_log_errors(LOG_WARN, NULL);
}