aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirauth/dirvote.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-05-01 08:58:57 -0400
committerDavid Goulet <dgoulet@torproject.org>2018-05-01 10:07:09 -0400
commit15e8ce39379fde7b6cddb4b06b3d8e01fadd4867 (patch)
treec83d02466d49a08eebb274100a59e01872cb9f2c /src/or/dirauth/dirvote.h
parent43bba89656cce89964f260d46f2550ab9af00c9e (diff)
downloadtor-15e8ce39379fde7b6cddb4b06b3d8e01fadd4867.tar.gz
tor-15e8ce39379fde7b6cddb4b06b3d8e01fadd4867.zip
Move back dirvote_authority_cert_dup to dirvote.c
Originally, it was made public outside of the dirauth module but it is no longer needed. In doing so, we put it back in dirvote.c and reverted its name to the original one: dirvote_authority_cert_dup() --> authority_cert_dup() Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/dirauth/dirvote.h')
-rw-r--r--src/or/dirauth/dirvote.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/dirauth/dirvote.h b/src/or/dirauth/dirvote.h
index 59cfd6b999..2c3b1a1cf0 100644
--- a/src/or/dirauth/dirvote.h
+++ b/src/or/dirauth/dirvote.h
@@ -202,6 +202,8 @@ vote_microdesc_hash_t *dirvote_format_all_microdesc_vote_lines(
*/
#ifdef DIRVOTE_PRIVATE
+/* Cert manipulation */
+STATIC authority_cert_t *authority_cert_dup(authority_cert_t *cert);
STATIC int32_t dirvote_get_intermediate_param_value(
const smartlist_t *param_list,
const char *keyword,