summaryrefslogtreecommitdiff
path: root/src/common/tortls.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-30 21:46:02 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-30 21:46:02 +0000
commit7e80640b97bbd97e8bcf5e95366f535a8bd16bfc (patch)
treef46817f2cd202427069438dda5340d61de2ac6e7 /src/common/tortls.h
parent57f7c852f809b9332fc7a52058a24713b1385c14 (diff)
downloadtor-7e80640b97bbd97e8bcf5e95366f535a8bd16bfc.tar.gz
tor-7e80640b97bbd97e8bcf5e95366f535a8bd16bfc.zip
r16285@catbus: nickm | 2007-10-30 17:43:25 -0400
Implement (but do not enable) link connection version negotiation svn:r12286
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 7d69f8e6c4..89cbe3be58 100644
--- a/src/common/tortls.h
+++ b/src/common/tortls.h
@@ -64,6 +64,8 @@ size_t tor_tls_get_forced_write_size(tor_tls_t *tls);
void tor_tls_get_n_raw_bytes(tor_tls_t *tls,
size_t *n_read, size_t *n_written);
+int tor_tls_used_v1_handshake(tor_tls_t *tls);
+
/* Log and abort if there are unhandled TLS errors in OpenSSL's error stack.
*/
#define check_no_tls_errors() _check_no_tls_errors(__FILE__,__LINE__)