diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-18 15:32:25 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-10-14 15:25:16 -0400 |
commit | 6925b61cfdf50a5686de02645b04b269c031f05d (patch) | |
tree | 414c55b16bb61f16ae70b78458da6e1020da7c7f /src/test/test_hs_service.c | |
parent | 7c8f20ba44a831ed9f714453fa776762d1c872c5 (diff) | |
download | tor-6925b61cfdf50a5686de02645b04b269c031f05d.tar.gz tor-6925b61cfdf50a5686de02645b04b269c031f05d.zip |
Fix various GCC LTO warnings in the unit tests.
Diffstat (limited to 'src/test/test_hs_service.c')
-rw-r--r-- | src/test/test_hs_service.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_hs_service.c b/src/test/test_hs_service.c index bceeafd149..d6404bd715 100644 --- a/src/test/test_hs_service.c +++ b/src/test/test_hs_service.c @@ -534,6 +534,7 @@ test_load_keys_with_client_auth(void *arg) tt_int_op(get_hs_service_map_size(), OP_EQ, 1); service = get_first_service(); + tt_assert(service); tt_assert(service->config.clients); tt_int_op(smartlist_len(service->config.clients), OP_EQ, smartlist_len(pubkey_b32_list)); |