diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-02-19 22:27:44 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-02-19 22:27:44 +0000 |
commit | 4ccffd7aea388f3df83b7a3bef790acf718198e9 (patch) | |
tree | 07c0dc3c5e05b927e2cfe062815754a86272b2e3 /src/or/connection_or.c | |
parent | 810bfe970ced4c09c819db3ebac9aaa786dc5ba5 (diff) | |
download | tor-4ccffd7aea388f3df83b7a3bef790acf718198e9.tar.gz tor-4ccffd7aea388f3df83b7a3bef790acf718198e9.zip |
r18218@catbus: nickm | 2008-02-19 17:27:40 -0500
When SafeLogging is off, have TLS errors and messages logged with their associated addresses.
svn:r13591
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 7017ec0ef7..cb881fc571 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -573,6 +573,7 @@ connection_tls_start_handshake(or_connection_t *conn, int receiving) { conn->_base.state = OR_CONN_STATE_TLS_HANDSHAKING; conn->tls = tor_tls_new(conn->_base.s, receiving); + tor_tls_set_logged_address(conn->tls, escaped_safe_str(conn->_base.address)); if (!conn->tls) { log_warn(LD_BUG,"tor_tls_new failed. Closing."); return -1; |