diff options
author | David Goulet <dgoulet@torproject.org> | 2018-04-25 10:05:30 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-04-27 11:40:44 -0400 |
commit | 35ff2a3b864d921d45aec50f551b59f24e31a512 (patch) | |
tree | 14ea6c9c3b3186ddec5536f30af424f4e4dd6484 /src/test/test_dir_common.c | |
parent | 43bee06dd090b5e221a0622389e18a21c0d1e153 (diff) | |
download | tor-35ff2a3b864d921d45aec50f551b59f24e31a512.tar.gz tor-35ff2a3b864d921d45aec50f551b59f24e31a512.zip |
dirvote: Rename authority_cert_dup()
Renamed to follow the file namespace.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test_dir_common.c')
-rw-r--r-- | src/test/test_dir_common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_dir_common.c b/src/test/test_dir_common.c index 02d3295ca6..8c6d99ccec 100644 --- a/src/test/test_dir_common.c +++ b/src/test/test_dir_common.c @@ -307,7 +307,7 @@ dir_common_construct_vote_1(networkstatus_t **vote, authority_cert_t *cert, * Set up a vote; generate it; try to parse it. */ smartlist_add((*vote)->voters, voter); - (*vote)->cert = authority_cert_dup(cert); + (*vote)->cert = dirvote_authority_cert_dup(cert); smartlist_split_string((*vote)->net_params, "circuitwindow=101 foo=990", NULL, 0, 0); *n_vrs = 0; @@ -356,7 +356,7 @@ dir_common_construct_vote_2(networkstatus_t **vote, authority_cert_t *cert, * Set up a vote; generate it; try to parse it. */ smartlist_add((*vote)->voters, voter); - (*vote)->cert = authority_cert_dup(cert); + (*vote)->cert = dirvote_authority_cert_dup(cert); if (! (*vote)->net_params) (*vote)->net_params = smartlist_new(); smartlist_split_string((*vote)->net_params, @@ -407,7 +407,7 @@ dir_common_construct_vote_3(networkstatus_t **vote, authority_cert_t *cert, * Set up a vote; generate it; try to parse it. */ smartlist_add((*vote)->voters, voter); - (*vote)->cert = authority_cert_dup(cert); + (*vote)->cert = dirvote_authority_cert_dup(cert); smartlist_split_string((*vote)->net_params, "circuitwindow=80 foo=660", NULL, 0, 0); /* add routerstatuses */ |