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/networkstatus.h | |
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/networkstatus.h')
-rw-r--r-- | src/or/networkstatus.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/networkstatus.h b/src/or/networkstatus.h index bd78292050..0c325959d7 100644 --- a/src/or/networkstatus.h +++ b/src/or/networkstatus.h @@ -30,6 +30,10 @@ void ns_detached_signatures_free_(ns_detached_signatures_t *s); networkstatus_voter_info_t *networkstatus_get_voter_by_id( networkstatus_t *vote, const char *identity); +document_signature_t *networkstatus_get_voter_sig_by_alg( + const networkstatus_voter_info_t *voter, + digest_algorithm_t alg); + int networkstatus_check_consensus_signature(networkstatus_t *consensus, int warn); int networkstatus_check_document_signature(const networkstatus_t *consensus, |