summaryrefslogtreecommitdiff
path: root/src/common/tortls.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-19 22:27:44 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-19 22:27:44 +0000
commit4ccffd7aea388f3df83b7a3bef790acf718198e9 (patch)
tree07c0dc3c5e05b927e2cfe062815754a86272b2e3 /src/common/tortls.h
parent810bfe970ced4c09c819db3ebac9aaa786dc5ba5 (diff)
downloadtor-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/common/tortls.h')
-rw-r--r--src/common/tortls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h
index 57ecbbe4dd..a93dcefaa4 100644
--- a/src/common/tortls.h
+++ b/src/common/tortls.h
@@ -49,6 +49,7 @@ const char *tor_tls_err_to_string(int err);
void tor_tls_free_all(void);
int tor_tls_context_new(crypto_pk_env_t *rsa, unsigned int key_lifetime);
tor_tls_t *tor_tls_new(int sock, int is_server);
+void tor_tls_set_logged_address(tor_tls_t *tls, const char *address);
void tor_tls_set_renegotiate_callback(tor_tls_t *tls,
void (*cb)(tor_tls_t *, void *arg),
void *arg);