summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-04-25 10:00:17 -0400
committerDavid Goulet <dgoulet@torproject.org>2018-04-27 11:40:44 -0400
commit43bee06dd090b5e221a0622389e18a21c0d1e153 (patch)
tree4c82524b60a32247df0c6d580fbee18afea4e1b1 /src/or/routerparse.c
parent26817d9d2231d2580361ae9082db17250b454628 (diff)
downloadtor-43bee06dd090b5e221a0622389e18a21c0d1e153.tar.gz
tor-43bee06dd090b5e221a0622389e18a21c0d1e153.zip
dirvote: Rename voter_get_sig_by_algorithm()
In order to follow the public namespace of dirvote. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index b27833c3ed..9769d5ab50 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -3972,7 +3972,7 @@ networkstatus_parse_vote_from_string(const char *s, const char **eos_out,
}
}
- if (voter_get_sig_by_algorithm(v, sig->alg)) {
+ if (dirvote_get_voter_sig_by_alg(v, sig->alg)) {
/* We already parsed a vote with this algorithm from this voter. Use the
first one. */
log_fn(LOG_PROTOCOL_WARN, LD_DIR, "We received a networkstatus "