diff options
author | George Kadianakis <desnacked@riseup.net> | 2016-08-25 01:44:34 +0300 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2016-11-04 10:32:50 -0400 |
commit | d795ed5871010b8ad6d216f5f4381e4191cb147c (patch) | |
tree | 47dff1ca705a55c78e8725b5007e9de54f4717f9 /src/test/test_hs_cache.c | |
parent | a8efd087bdd937027713217d74e1cfd40fba4961 (diff) | |
download | tor-d795ed5871010b8ad6d216f5f4381e4191cb147c.tar.gz tor-d795ed5871010b8ad6d216f5f4381e4191cb147c.zip |
Make check-spaces happy :)
Signed-off-by: David Goulet <dgoulet@torproject.org>
Signed-off-by: George Kadianakis <desnacked@riseup.net>
Diffstat (limited to 'src/test/test_hs_cache.c')
-rw-r--r-- | src/test/test_hs_cache.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_hs_cache.c b/src/test/test_hs_cache.c index ab4d2b94de..33887aedd9 100644 --- a/src/test/test_hs_cache.c +++ b/src/test/test_hs_cache.c @@ -58,7 +58,7 @@ helper_build_intro_point(const ed25519_keypair_t *blinded_kp, tt_int_op(ret, ==, 0); ip->enc_key_type = HS_DESC_KEY_TYPE_CURVE25519; intro_point = ip; -done: + done: return intro_point; } @@ -101,7 +101,7 @@ helper_build_hs_desc(uint64_t revision_counter, uint32_t lifetime, "1.2.3.4")); descp = desc; -done: + done: return descp; } @@ -257,8 +257,8 @@ test_clean_as_dir(void *arg) tt_assert(desc1); ret = hs_desc_encode_descriptor(desc1, &desc1_str); tt_int_op(ret, OP_EQ, 0); - ret = hs_cache_store_as_dir(desc1_str); - tt_int_op(ret, OP_EQ, 0); + ret = hs_cache_store_as_dir(desc1_str); + tt_int_op(ret, OP_EQ, 0); /* With the lifetime being 3 hours, a cleanup shouldn't remove it. */ ret = cache_clean_v3_as_dir(now, 0); |