diff options
author | David Goulet <dgoulet@torproject.org> | 2018-05-01 10:59:10 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-05-01 11:43:23 -0400 |
commit | 098b7fe25bdba20974ebf4ae02ec816316f23383 (patch) | |
tree | 11c97b69557f99c99c8358c1a7229bce96a46fa5 /src/or/dirauth/dirvote.c | |
parent | afd4fc689a5212a9aafa084f4e377db28583360d (diff) | |
download | tor-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/dirauth/dirvote.c')
-rw-r--r-- | src/or/dirauth/dirvote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirauth/dirvote.c b/src/or/dirauth/dirvote.c index 36f328d6c5..f11b871e50 100644 --- a/src/or/dirauth/dirvote.c +++ b/src/or/dirauth/dirvote.c @@ -2516,7 +2516,7 @@ networkstatus_add_detached_signatures(networkstatus_t *target, continue; } - old_sig = dirvote_get_voter_sig_by_alg(target_voter, sig->alg); + old_sig = networkstatus_get_voter_sig_by_alg(target_voter, sig->alg); /* If the target already has a good signature from this voter, then skip * this one. */ |