aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-10-11 13:45:27 -0400
committerNick Mathewson <nickm@torproject.org>2010-10-12 14:52:33 -0400
commita9172c87beaf94119b0c0dc280267d9c76b957b7 (patch)
tree5c1b6fddfd4de8bd22d298e23e52876b013e4093 /src/common/tortls.h
parentc1c74c51d42e46d32f4fe765e653287e400dc6b6 (diff)
downloadtor-a9172c87beaf94119b0c0dc280267d9c76b957b7.tar
tor-a9172c87beaf94119b0c0dc280267d9c76b957b7.tar.gz
Actually call connection_tls_finish_handshake() with bufferevents
First start of a fix for bug2001, but my test network still isn't working: the client and the server send each other VERSIONS cells, but never notice that they got them.
Diffstat (limited to 'src/common/tortls.h')
-rw-r--r--src/common/tortls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h
index c52b6fd2a..950d43078 100644
--- a/src/common/tortls.h
+++ b/src/common/tortls.h
@@ -80,6 +80,8 @@ void tor_tls_get_buffer_sizes(tor_tls_t *tls,
size_t *wbuf_capacity, size_t *wbuf_bytes);
int tor_tls_used_v1_handshake(tor_tls_t *tls);
+int tor_tls_get_num_server_handshakes(tor_tls_t *tls);
+int tor_tls_server_got_renegotiate(tor_tls_t *tls);
/* Log and abort if there are unhandled TLS errors in OpenSSL's error stack.
*/