diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-08-01 17:29:10 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-08-15 12:03:37 -0400 |
commit | 28bb673584b3e7e839bebce64bd986c6c4ad1faa (patch) | |
tree | 102e828fd7f9be5ab565686fa3e0062acec3d58f /src/or/connection_or.h | |
parent | 636aeb1f24fadd4c6c45dbfd1539f6312c91cc60 (diff) | |
download | tor-28bb673584b3e7e839bebce64bd986c6c4ad1faa.tar.gz tor-28bb673584b3e7e839bebce64bd986c6c4ad1faa.zip |
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection_or.h b/src/or/connection_or.h index 85e68f1a33..8d93028932 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, |