aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-09-16 17:48:20 -0400
committerNick Mathewson <nickm@torproject.org>2011-10-10 23:14:10 -0400
commit92602345e001d8e66038d5d98cbb21eea5ef40c9 (patch)
treef858f1cbb732d6ee4f9f26236d2ff7a1c0779798 /src/common/tortls.h
parent8c9fdecfe9e6c93e678a5917e302aa18ada8a3b6 (diff)
downloadtor-92602345e001d8e66038d5d98cbb21eea5ef40c9.tar.gz
tor-92602345e001d8e66038d5d98cbb21eea5ef40c9.zip
Function to detect certificate types that signal v3 certificates
Diffstat (limited to 'src/common/tortls.h')
-rw-r--r--src/common/tortls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h
index 40eb8306eb..70d24a5303 100644
--- a/src/common/tortls.h
+++ b/src/common/tortls.h
@@ -88,6 +88,7 @@ void tor_tls_get_buffer_sizes(tor_tls_t *tls,
size_t *wbuf_capacity, size_t *wbuf_bytes);
int tor_tls_used_v1_handshake(tor_tls_t *tls);
+int tor_tls_received_v3_certificate(tor_tls_t *tls);
int tor_tls_get_num_server_handshakes(tor_tls_t *tls);
int tor_tls_server_got_renegotiate(tor_tls_t *tls);
int tor_tls_get_tlssecrets(tor_tls_t *tls, uint8_t *secrets_out);