diff options
author | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2015-12-07 17:47:10 +1100 |
---|---|---|
committer | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2015-12-16 04:03:45 +1100 |
commit | d3546aa92bf5c7c1435381b33a42f2a4a3d3c2f5 (patch) | |
tree | e4f8998e714512b00925d2cbc013e370908cb94d /src/test/test_routerlist.c | |
parent | df0c135d62ab1619843f7825ccd5ad697f6afdcb (diff) | |
download | tor-d3546aa92bf5c7c1435381b33a42f2a4a3d3c2f5.tar.gz tor-d3546aa92bf5c7c1435381b33a42f2a4a3d3c2f5.zip |
Prop210: Add want_authority to directory_get_from_dirserver
Diffstat (limited to 'src/test/test_routerlist.c')
-rw-r--r-- | src/test/test_routerlist.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/test_routerlist.c b/src/test/test_routerlist.c index 381a592c5b..1bc5e4bb16 100644 --- a/src/test/test_routerlist.c +++ b/src/test/test_routerlist.c @@ -12,11 +12,13 @@ static char output[4*BASE64_DIGEST256_LEN+3+2+2+1]; static void mock_get_from_dirserver(uint8_t dir_purpose, uint8_t router_purpose, - const char *resource, int pds_flags) + const char *resource, int pds_flags, + download_want_authority_t want_authority) { (void)dir_purpose; (void)router_purpose; (void)pds_flags; + (void)want_authority; tt_assert(resource); strlcpy(output, resource, sizeof(output)); done: |