aboutsummaryrefslogtreecommitdiff
path: root/src/or/channel.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-10-16 09:07:50 -0400
committerNick Mathewson <nickm@torproject.org>2015-05-28 10:41:50 -0400
commit55bb7bbafd1272a1bc36a17d89bd2419d59b113a (patch)
tree98a870d6603b5ee394975395f7c40a02d882cedd /src/or/channel.c
parentb75361c5ed717cde787c1b4f36e8fb51ccfddc2b (diff)
downloadtor-55bb7bbafd1272a1bc36a17d89bd2419d59b113a.tar.gz
tor-55bb7bbafd1272a1bc36a17d89bd2419d59b113a.zip
Tests for AUTHENTICATE cell functionality.
Diffstat (limited to 'src/or/channel.c')
-rw-r--r--src/or/channel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/channel.c b/src/or/channel.c
index bf0387f10e..af095026e4 100644
--- a/src/or/channel.c
+++ b/src/or/channel.c
@@ -4431,10 +4431,10 @@ channel_num_circuits(channel_t *chan)
* This is called when setting up a channel and replaces the old
* connection_or_set_circid_type()
*/
-void
-channel_set_circid_type(channel_t *chan,
- crypto_pk_t *identity_rcvd,
- int consider_identity)
+MOCK_IMPL(void,
+channel_set_circid_type,(channel_t *chan,
+ crypto_pk_t *identity_rcvd,
+ int consider_identity))
{
int started_here;
crypto_pk_t *our_identity;