summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-05-01 10:59:10 -0400
committerDavid Goulet <dgoulet@torproject.org>2018-05-01 11:43:23 -0400
commit098b7fe25bdba20974ebf4ae02ec816316f23383 (patch)
tree11c97b69557f99c99c8358c1a7229bce96a46fa5 /src/or/routerparse.c
parentafd4fc689a5212a9aafa084f4e377db28583360d (diff)
downloadtor-098b7fe25bdba20974ebf4ae02ec816316f23383.tar.gz
tor-098b7fe25bdba20974ebf4ae02ec816316f23383.zip
ns: Move dirvote_get_voter_sig_by_alg() to networkstatus.c
It makes more sense to be in networkstatus.c so move it there and rename it with the "networkstatus_" prefix. Part of #25988 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 3a55c00cc1..e4833b4419 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -3912,7 +3912,7 @@ networkstatus_parse_vote_from_string(const char *s, const char **eos_out,
}
}
- if (dirvote_get_voter_sig_by_alg(v, sig->alg)) {
+ if (networkstatus_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 "