aboutsummaryrefslogtreecommitdiff
path: root/src/or/networkstatus.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/networkstatus.h')
-rw-r--r--src/or/networkstatus.h4
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,