aboutsummaryrefslogtreecommitdiff
path: root/src/or/microdesc.c
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2016-05-18 22:05:35 -0400
committerNick Mathewson <nickm@torproject.org>2016-05-19 07:58:41 -0400
commitf698b509d8efdc055cfc05c6feaf0aecee41b9d0 (patch)
tree7d74711f1ee69f74def145f3517ecee2d69a202a /src/or/microdesc.c
parentd5c70d71027644efb31d16d17b46d43484b46b18 (diff)
downloadtor-f698b509d8efdc055cfc05c6feaf0aecee41b9d0.tar.gz
tor-f698b509d8efdc055cfc05c6feaf0aecee41b9d0.zip
Add unit tests for networkstatus_consensus_is_bootstrapping
Diffstat (limited to 'src/or/microdesc.c')
-rw-r--r--src/or/microdesc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/microdesc.c b/src/or/microdesc.c
index 299042995b..5b5c29a6d2 100644
--- a/src/or/microdesc.c
+++ b/src/or/microdesc.c
@@ -955,8 +955,8 @@ we_fetch_router_descriptors(const or_options_t *options)
}
/** Return the consensus flavor we actually want to use to build circuits. */
-int
-usable_consensus_flavor(void)
+MOCK_IMPL(int,
+usable_consensus_flavor,(void))
{
if (we_use_microdescriptors_for_circuits(get_options())) {
return FLAV_MICRODESC;