aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@gmail.com>2011-10-26 13:16:14 +0200
committerGeorge Kadianakis <desnacked@gmail.com>2011-10-26 13:16:14 +0200
commit340809dd224b244675496e301d3ba154a6fe68d0 (patch)
tree52abc40c9da4c49508c731adb829793744abe4d4 /src/common/tortls.h
parentecd239e3b577705e0669d47293a2e755cf93cec0 (diff)
downloadtor-340809dd224b244675496e301d3ba154a6fe68d0.tar
tor-340809dd224b244675496e301d3ba154a6fe68d0.tar.gz
Get rid of tor_tls_block_renegotiation().
Since we check for naughty renegotiations using tor_tls_t.server_handshake_count we don't need that semi-broken function (at least till there is a way to disable rfc5746 renegotiations too).
Diffstat (limited to 'src/common/tortls.h')
-rw-r--r--src/common/tortls.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h
index 90e76e4a9..1219b8081 100644
--- a/src/common/tortls.h
+++ b/src/common/tortls.h
@@ -75,7 +75,6 @@ int tor_tls_handshake(tor_tls_t *tls);
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);