summaryrefslogtreecommitdiff
path: root/src/common/tortls.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-10-12 14:45:15 -0400
committerNick Mathewson <nickm@torproject.org>2010-10-12 14:52:33 -0400
commitfbacbf9fd92a7f10a86a314b20d34f609fb1e72f (patch)
treede07a47f196592c5c9756405d095944a505226ec /src/common/tortls.h
parenta9172c87beaf94119b0c0dc280267d9c76b957b7 (diff)
downloadtor-fbacbf9fd92a7f10a86a314b20d34f609fb1e72f.tar.gz
tor-fbacbf9fd92a7f10a86a314b20d34f609fb1e72f.zip
Set OpenSSL 0.9.8l renegotiation flag early enough for bufferevents
This seems to fix another case of bug2001.
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 950d430788..c1de456611 100644
--- a/src/common/tortls.h
+++ b/src/common/tortls.h
@@ -68,6 +68,7 @@ int tor_tls_finish_handshake(tor_tls_t *tls);
int tor_tls_renegotiate(tor_tls_t *tls);
void tor_tls_unblock_renegotiation(tor_tls_t *tls);
void tor_tls_block_renegotiation(tor_tls_t *tls);
+void tor_tls_assert_renegotiation_unblocked(tor_tls_t *tls);
int tor_tls_shutdown(tor_tls_t *tls);
int tor_tls_get_pending_bytes(tor_tls_t *tls);
size_t tor_tls_get_forced_write_size(tor_tls_t *tls);