[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/release-0.2.9] Add a missing return value check in test_single_onion_poisoning



commit 8d42aab3f68d7d01c87bbfe60c30c438d70437c3
Author: teor <teor2345@xxxxxxxxx>
Date:   Sat Dec 3 06:30:06 2016 +1100

    Add a missing return value check in test_single_onion_poisoning
---
 src/test/test_hs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test/test_hs.c b/src/test/test_hs.c
index c7aaace..067e6b4 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;



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits