diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-11-06 10:04:22 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-11-06 10:04:22 -0500 |
commit | 7097c4a37a914d7a64a0da3a8d1b61816dbe071b (patch) | |
tree | 849801eac0d5554c727e13a66cf21c1ce34b5100 /src | |
parent | 3beb3dac2db492df1686abd1d2c047d5ee6cddcc (diff) | |
parent | 198ede53147dc3a33384e836b1ad9c64e95d0232 (diff) | |
download | tor-7097c4a37a914d7a64a0da3a8d1b61816dbe071b.tar.gz tor-7097c4a37a914d7a64a0da3a8d1b61816dbe071b.zip |
Merge remote-tracking branch 'dgoulet/bug24053_033_01'
Diffstat (limited to 'src')
-rw-r--r-- | src/test/test_routerlist.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/test_routerlist.c b/src/test/test_routerlist.c index 81451a4bc4..05d0820d83 100644 --- a/src/test/test_routerlist.c +++ b/src/test/test_routerlist.c @@ -454,7 +454,10 @@ test_directory_guard_fetch_with_no_dirinfo(void *arg) (void) arg; /* Initialize the SRV subsystem */ + MOCK(get_my_v3_authority_cert, get_my_v3_authority_cert_m); + mock_cert = authority_cert_parse_from_string(AUTHORITY_CERT_1, NULL); sr_init(0); + UNMOCK(get_my_v3_authority_cert); /* Initialize the entry node configuration from the ticket */ options->UseEntryGuards = 1; |