mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 06:35:28 +01:00
Add a missing return value check in test_single_onion_poisoning
This commit is contained in:
parent
fdd368d656
commit
8d42aab3f6
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue