summaryrefslogtreecommitdiff
path: root/src/common/tortls.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-09-13 13:46:21 -0400
committerNick Mathewson <nickm@torproject.org>2011-10-10 23:14:10 -0400
commitc39688de6c5d4bf19739ecffb2e98aa560a4630a (patch)
treeea40192d830f9cccdb2b164a48b4145aaef6e155 /src/common/tortls.h
parentdf78daa5da0fd27fdd2fd8ad13aa12e74696a4ef (diff)
downloadtor-c39688de6c5d4bf19739ecffb2e98aa560a4630a.tar.gz
tor-c39688de6c5d4bf19739ecffb2e98aa560a4630a.zip
Function to extract the TLSSECRETS field for v3 handshakes
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 c55da4afd2..a6aed29852 100644
--- a/src/common/tortls.h
+++ b/src/common/tortls.h
@@ -90,6 +90,7 @@ void tor_tls_get_buffer_sizes(tor_tls_t *tls,
int tor_tls_used_v1_handshake(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);
/* Log and abort if there are unhandled TLS errors in OpenSSL's error stack.
*/