diff options
author | David Goulet <dgoulet@torproject.org> | 2018-04-05 14:27:30 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-04-27 11:40:44 -0400 |
commit | 2115a54b4ab91d6d573691fc7368fcb8a2db32af (patch) | |
tree | ce28c8623a039f88aa04bf33f262a04abaec7891 /src/test/test_routerlist.c | |
parent | 35d86b088dd97c65e0af48b4f186682fb011f283 (diff) | |
download | tor-2115a54b4ab91d6d573691fc7368fcb8a2db32af.tar.gz tor-2115a54b4ab91d6d573691fc7368fcb8a2db32af.zip |
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 <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test_routerlist.c')
-rw-r--r-- | src/test/test_routerlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_routerlist.c b/src/test/test_routerlist.c index c19d66ef9d..71b487f35b 100644 --- a/src/test/test_routerlist.c +++ b/src/test/test_routerlist.c @@ -19,7 +19,7 @@ #include "container.h" #include "control.h" #include "directory.h" -#include "dirvote.h" +#include "dirauth/dirvote.h" #include "entrynodes.h" #include "hibernate.h" #include "microdesc.h" @@ -30,7 +30,7 @@ #include "routerlist.h" #include "routerset.h" #include "routerparse.h" -#include "shared_random.h" +#include "dirauth/shared_random.h" #include "statefile.h" #include "test.h" #include "test_dir_common.h" |