aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-08-01 17:29:10 -0400
committerNick Mathewson <nickm@torproject.org>2013-08-15 12:03:37 -0400
commit28bb673584b3e7e839bebce64bd986c6c4ad1faa (patch)
tree102e828fd7f9be5ab565686fa3e0062acec3d58f /src/or/connection_or.h
parent636aeb1f24fadd4c6c45dbfd1539f6312c91cc60 (diff)
downloadtor-28bb673584b3e7e839bebce64bd986c6c4ad1faa.tar
tor-28bb673584b3e7e839bebce64bd986c6c4ad1faa.tar.gz
White-box tests for the succeeding case of ext_or_port handshake.
(Okay, white-box plus mocking enough other functions so they don't crash.)
Diffstat (limited to 'src/or/connection_or.h')
-rw-r--r--src/or/connection_or.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection_or.h b/src/or/connection_or.h
index 85e68f1a3..8d9302893 100644
--- a/src/or/connection_or.h
+++ b/src/or/connection_or.h
@@ -45,7 +45,8 @@ void connection_or_close_for_error(or_connection_t *orconn, int flush);
void connection_or_report_broken_states(int severity, int domain);
-int connection_tls_start_handshake(or_connection_t *conn, int receiving);
+MOCK_DECL(int,connection_tls_start_handshake,(or_connection_t *conn,
+ int receiving));
int connection_tls_continue_handshake(or_connection_t *conn);
int connection_init_or_handshake_state(or_connection_t *conn,