From 2115a54b4ab91d6d573691fc7368fcb8a2db32af Mon Sep 17 00:00:00 2001 From: David Goulet Date: Thu, 5 Apr 2018 14:27:30 -0400 Subject: mod: Move dirauth specific files to its own module This is a pretty big commit but it only moves these files to src/or/dirauth: dircollate.c dirvote.c shared_random.c shared_random_state.c dircollate.h dirvote.h shared_random.h shared_random_state.h Then many files are modified to change the include line for those header files that have moved into a new directory. Without using --disable-module-dirauth, everything builds fine. When using the flag to disable the module, tor doesn't build due to linking errors. This will be addressed in the next commit(s). No code behavior change. Signed-off-by: David Goulet --- src/test/test_microdesc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/test_microdesc.c') diff --git a/src/test/test_microdesc.c b/src/test/test_microdesc.c index 94b4d5e51f..4b168f49ed 100644 --- a/src/test/test_microdesc.c +++ b/src/test/test_microdesc.c @@ -6,7 +6,7 @@ #include "config.h" #define DIRVOTE_PRIVATE -#include "dirvote.h" +#include "dirauth/dirvote.h" #include "microdesc.h" #include "networkstatus.h" #include "routerlist.h" -- cgit v1.2.3-54-g00ecf