From 7e80640b97bbd97e8bcf5e95366f535a8bd16bfc Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 30 Oct 2007 21:46:02 +0000 Subject: r16285@catbus: nickm | 2007-10-30 17:43:25 -0400 Implement (but do not enable) link connection version negotiation svn:r12286 --- src/common/tortls.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/tortls.h') 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__) -- cgit v1.2.3-54-g00ecf