diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-08-23 09:32:20 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-04 14:52:35 -0400 |
commit | dd04fc35c665976f9fc9ff586cbf7fe34d9cc241 (patch) | |
tree | 0c6a365ceea765d4a60c129df286de30c7709f6d /src/lib/tls/tortls.h | |
parent | 5205c7fd903cb5bd751812bddb5497ac76e1f30b (diff) | |
download | tor-dd04fc35c665976f9fc9ff586cbf7fe34d9cc241.tar.gz tor-dd04fc35c665976f9fc9ff586cbf7fe34d9cc241.zip |
Remove tor_tls_shutdown()
This function was supposed to implement a half-duplex mode for our
TLS connections. However, nothing in Tor actually uses it (besides
some unit tests), and the implementation looks really questionable
to me. It's probably best to remove it. We can add a tested one
later if we need one in the future.
Diffstat (limited to 'src/lib/tls/tortls.h')
-rw-r--r-- | src/lib/tls/tortls.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/tls/tortls.h b/src/lib/tls/tortls.h index 7bbb42b2fd..a8bc7370a7 100644 --- a/src/lib/tls/tortls.h +++ b/src/lib/tls/tortls.h @@ -111,7 +111,6 @@ int tor_tls_finish_handshake(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); |