summaryrefslogtreecommitdiff
path: root/src/or/hs_common.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-04-24 11:34:31 -0400
committerDavid Goulet <dgoulet@torproject.org>2018-04-27 11:40:44 -0400
commitbdcf3a383932cc48a360c9a75b93b44a6968171e (patch)
treea8a690f1337d5529f7b2a4df0b294d889cae17c3 /src/or/hs_common.c
parent2115a54b4ab91d6d573691fc7368fcb8a2db32af (diff)
downloadtor-bdcf3a383932cc48a360c9a75b93b44a6968171e.tar.gz
tor-bdcf3a383932cc48a360c9a75b93b44a6968171e.zip
sr: Extract shared SR functions
Move most of the shared random functions that are needed outside of the dirauth module. At this commit, because dirvote.c hasn't been refactor, it doesn't compile because some SR functions need a dirvote function. Furthermore, 5 functions haven't been touched yet because they are dirauth only but are in used in other C files than the dirauth module ones. No code behavior change. Only moving code around. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_common.c')
-rw-r--r--src/or/hs_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hs_common.c b/src/or/hs_common.c
index fc7bc5729b..8cc7d08911 100644
--- a/src/or/hs_common.c
+++ b/src/or/hs_common.c
@@ -28,7 +28,7 @@
#include "rendservice.h"
#include "routerset.h"
#include "router.h"
-#include "dirauth/shared_random.h"
+#include "shared_random_common.h"
#include "dirauth/shared_random_state.h"
/* Trunnel */