mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
r16285@catbus: nickm | 2007-10-30 17:43:25 -0400
Implement (but do not enable) link connection version negotiation svn:r12286
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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__)
|
||||
|
||||
Reference in New Issue
Block a user