diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-10-02 13:40:26 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-10-02 13:40:26 +0200 |
commit | 0b3190d4b73be07dd78c3c0bca8b30651915fc37 (patch) | |
tree | d6ffd0ab6df8898fdd365d8d991f02f183c72fd5 /src/test/test.c | |
parent | 0e03a0421ee83892b1612f74f95c01c15b4aef19 (diff) | |
parent | 08b1738a18e9e323109e7e0f0a23158bbd45a5c1 (diff) | |
download | tor-0b3190d4b73be07dd78c3c0bca8b30651915fc37.tar.gz tor-0b3190d4b73be07dd78c3c0bca8b30651915fc37.zip |
Merge remote-tracking branch 'donncha/feature14846_4'
Diffstat (limited to 'src/test/test.c')
-rw-r--r-- | src/test/test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/test.c b/src/test/test.c index 4cb33c9a18..8a569ec636 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -47,6 +47,7 @@ double fabs(double x); #include "connection_edge.h" #include "geoip.h" #include "rendcommon.h" +#include "rendcache.h" #include "test.h" #include "torgzip.h" #include "memarea.h" @@ -494,6 +495,9 @@ test_rend_fns(void *arg) tt_str_op(address6,OP_EQ, "abcdefghijklmnop"); tt_assert(BAD_HOSTNAME == parse_extended_hostname(address7)); + /* Initialize the service cache. */ + rend_cache_init(); + pk1 = pk_generate(0); pk2 = pk_generate(1); generated = tor_malloc_zero(sizeof(rend_service_descriptor_t)); |