aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_hs.c
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2016-12-03 06:30:06 +1100
committerteor <teor2345@gmail.com>2016-12-03 06:30:06 +1100
commit8d42aab3f68d7d01c87bbfe60c30c438d70437c3 (patch)
tree2ace38102f0afe6cc386b1fe0c652fbad73adedb /src/test/test_hs.c
parentfdd368d6564e955422337af53e0723b571b8da57 (diff)
downloadtor-8d42aab3f68d7d01c87bbfe60c30c438d70437c3.tar.gz
tor-8d42aab3f68d7d01c87bbfe60c30c438d70437c3.zip
Add a missing return value check in test_single_onion_poisoning
Diffstat (limited to 'src/test/test_hs.c')
-rw-r--r--src/test/test_hs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_hs.c b/src/test/test_hs.c
index c7aaace035..067e6b4bf2 100644
--- a/src/test/test_hs.c
+++ b/src/test/test_hs.c
@@ -688,6 +688,7 @@ test_single_onion_poisoning(void *arg)
/* Now add the second service: it has no key and no poison file */
ret = rend_service_check_dir_and_add(services, mock_options, service_2, 0);
+ tt_assert(ret == 0);
/* A new service, and an existing poisoned service. Not ok. */
mock_options->HiddenServiceSingleHopMode = 0;