diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-10-30 21:46:02 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-10-30 21:46:02 +0000 |
commit | 7e80640b97bbd97e8bcf5e95366f535a8bd16bfc (patch) | |
tree | f46817f2cd202427069438dda5340d61de2ac6e7 /src/common | |
parent | 57f7c852f809b9332fc7a52058a24713b1385c14 (diff) | |
download | tor-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')
-rw-r--r-- | src/common/tortls.c | 7 | ||||
-rw-r--r-- | src/common/tortls.h | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c index 986265da9b..db6d62c4ce 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -888,3 +888,10 @@ _check_no_tls_errors(const char *fname, int line) tls_log_errors(LOG_WARN, NULL); } +/**DOCDOC */ +int +tor_tls_used_v1_handshake(tor_tls_t *tls) +{ + (void)tls; + return 1; +} 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__) |