summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2019-04-24 09:51:14 -0400
committerDavid Goulet <dgoulet@torproject.org>2019-04-24 09:51:14 -0400
commit608cf2ba8d48f99d0d17ee528ec55080dbd8154c (patch)
tree1dc647f314cd1a419dbbc4a95aa8039707475393
parent5bcf87c224978970256af56a16d0ac676ac24a25 (diff)
parent88dc7bc171ea8bb4696aac5b142d5b39b632dc79 (diff)
downloadtor-608cf2ba8d48f99d0d17ee528ec55080dbd8154c.tar.gz
tor-608cf2ba8d48f99d0d17ee528ec55080dbd8154c.zip
Merge branch 'tor-github/pr/943'
-rw-r--r--src/test/test_hs_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_hs_cache.c b/src/test/test_hs_cache.c
index 48e8d3b8c4..2187c2be39 100644
--- a/src/test/test_hs_cache.c
+++ b/src/test/test_hs_cache.c
@@ -244,6 +244,7 @@ helper_fetch_desc_from_hsdir(const ed25519_public_key_t *blinded_key)
/* Simulate an HTTP GET request to the HSDir */
conn = dir_connection_new(AF_INET);
+ tt_assert(conn);
tor_addr_from_ipv4h(&conn->base_.addr, 0x7f000001);
TO_CONN(conn)->linked = 1;/* Pretend the conn is encrypted :) */
retval = directory_handle_command_get(conn, hsdir_query_str,