aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dirauth/shared_random.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-03-12 11:03:37 -0400
committerNick Mathewson <nickm@torproject.org>2019-03-12 11:03:37 -0400
commit9c9214f2c9f4e9511a2e09238e1cc90d81ae02de (patch)
tree9e0709fc47d564f4646777ad534cba33812d8733 /src/feature/dirauth/shared_random.h
parenta9c84bfd358799dc2dbe805ff6db4a6ca184ef0b (diff)
parentdfc3e552a3b7617add0bd576a5c34dca59f42649 (diff)
downloadtor-9c9214f2c9f4e9511a2e09238e1cc90d81ae02de.tar.gz
tor-9c9214f2c9f4e9511a2e09238e1cc90d81ae02de.zip
Merge remote-tracking branch 'tor-github/pr/776' into maint-0.4.0
Diffstat (limited to 'src/feature/dirauth/shared_random.h')
-rw-r--r--src/feature/dirauth/shared_random.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/dirauth/shared_random.h b/src/feature/dirauth/shared_random.h
index 25d95ebbc7..0b45ad1ed7 100644
--- a/src/feature/dirauth/shared_random.h
+++ b/src/feature/dirauth/shared_random.h
@@ -154,6 +154,7 @@ const char *sr_commit_get_rsa_fpr(const sr_commit_t *commit)
void sr_compute_srv(void);
sr_commit_t *sr_generate_our_commit(time_t timestamp,
const authority_cert_t *my_rsa_cert);
+sr_srv_t *sr_srv_dup(const sr_srv_t *orig);
#ifdef SHARED_RANDOM_PRIVATE
@@ -172,7 +173,6 @@ STATIC sr_srv_t *get_majority_srv_from_votes(const smartlist_t *votes,
int current);
STATIC void save_commit_to_state(sr_commit_t *commit);
-STATIC sr_srv_t *srv_dup(const sr_srv_t *orig);
STATIC int commitments_are_the_same(const sr_commit_t *commit_one,
const sr_commit_t *commit_two);
STATIC int commit_is_authoritative(const sr_commit_t *commit,