diff options
author | teor <teor2345@gmail.com> | 2016-12-03 06:30:06 +1100 |
---|---|---|
committer | teor <teor2345@gmail.com> | 2016-12-03 06:30:06 +1100 |
commit | 8d42aab3f68d7d01c87bbfe60c30c438d70437c3 (patch) | |
tree | 2ace38102f0afe6cc386b1fe0c652fbad73adedb /src/test/test_hs.c | |
parent | fdd368d6564e955422337af53e0723b571b8da57 (diff) | |
download | tor-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.c | 1 |
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; |