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.c | |
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.c')
-rw-r--r-- | src/or/connection_or.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index a55ca3aa01..31fd6d6739 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -1281,8 +1281,8 @@ connection_or_close_for_error(or_connection_t *orconn, int flush) * * Return -1 if <b>conn</b> is broken, else return 0. */ -int -connection_tls_start_handshake(or_connection_t *conn, int receiving) +MOCK_IMPL(int, +connection_tls_start_handshake,(or_connection_t *conn, int receiving)) { channel_listener_t *chan_listener; channel_t *chan; |