diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-12-06 19:49:20 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-12-06 19:49:20 -0500 |
commit | 616b60cef39f78d8a6ebb984096ff0ec09a3021c (patch) | |
tree | 67a55d954df61d3dfd370866d242cbf19fd44859 /src/common/tortls.h | |
parent | 53f535aeb863204470379b2da4631770fa10b13f (diff) | |
download | tor-616b60cef39f78d8a6ebb984096ff0ec09a3021c.tar.gz tor-616b60cef39f78d8a6ebb984096ff0ec09a3021c.zip |
Revert "Use callback-driven approach to block renegotiations."
This reverts commit 406ae1ba5ad529a4d0e710229dab6ed645d42b50.
Diffstat (limited to 'src/common/tortls.h')
-rw-r--r-- | src/common/tortls.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h index 5874881989..e558df756c 100644 --- a/src/common/tortls.h +++ b/src/common/tortls.h @@ -13,7 +13,6 @@ #include "crypto.h" #include "compat.h" -#include "compat_libevent.h" /* Opaque structure to hold a TLS connection. */ typedef struct tor_tls_t tor_tls_t; @@ -61,9 +60,8 @@ int tor_tls_context_init(int is_public_server, 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_callbacks(tor_tls_t *tls, +void tor_tls_set_renegotiate_callback(tor_tls_t *tls, void (*cb)(tor_tls_t *, void *arg), - void (*cb2)(evutil_socket_t, short, void *), void *arg); int tor_tls_is_server(tor_tls_t *tls); void tor_tls_free(tor_tls_t *tls); |