diff options
author | David Goulet <dgoulet@torproject.org> | 2017-05-05 14:55:26 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-08 20:29:34 -0400 |
commit | b547c5423930a430f70505a12d587735a7c83e1c (patch) | |
tree | 009b3e8fd6a2cb40d9950bfd83ceef7afce4ada9 /src/or/hs_common.c | |
parent | 559ffd71798765970205d0559c9f5a06dc55cf37 (diff) | |
download | tor-b547c5423930a430f70505a12d587735a7c83e1c.tar.gz tor-b547c5423930a430f70505a12d587735a7c83e1c.zip |
test: Add unit test coverage of hs_service.c
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_common.c')
-rw-r--r-- | src/or/hs_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/hs_common.c b/src/or/hs_common.c index 20b53bb91c..01bd204e11 100644 --- a/src/or/hs_common.c +++ b/src/or/hs_common.c @@ -873,8 +873,8 @@ hs_build_blinded_keypair(const ed25519_keypair_t *kp, /* Return true if overlap mode is active given the date in consensus. If * consensus is NULL, then we use the latest live consensus we can find. */ -int -hs_overlap_mode_is_active(const networkstatus_t *consensus, time_t now) +MOCK_IMPL(int, +hs_overlap_mode_is_active, (const networkstatus_t *consensus, time_t now)) { struct tm valid_after_tm; |