mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Make the process_descs.c module dirauth-only.
This commit is contained in:
parent
aab0245924
commit
857bfc7033
@ -39,7 +39,6 @@
|
||||
#include "feature/dirauth/bwauth.h"
|
||||
#include "feature/dirauth/dirvote.h"
|
||||
#include "feature/dirauth/keypin.h"
|
||||
#include "feature/dirauth/process_descs.h"
|
||||
#include "feature/dirauth/shared_random.h"
|
||||
#include "feature/dircache/consdiffmgr.h"
|
||||
#include "feature/dircache/dirserv.h"
|
||||
@ -128,7 +127,6 @@ tor_free_all(int postfork)
|
||||
routerlist_free_all();
|
||||
networkstatus_free_all();
|
||||
addressmap_free_all();
|
||||
dirserv_free_fingerprint_list();
|
||||
dirserv_free_all();
|
||||
dirserv_clear_measured_bw_cache();
|
||||
rend_cache_free_all();
|
||||
|
@ -156,7 +156,6 @@ LIBTOR_APP_A_SOURCES += \
|
||||
src/feature/dirauth/bwauth.c \
|
||||
src/feature/dirauth/guardfraction.c \
|
||||
src/feature/dirauth/reachability.c \
|
||||
src/feature/dirauth/process_descs.c \
|
||||
src/feature/dirauth/voteflags.c
|
||||
|
||||
if BUILD_NT_SERVICES
|
||||
@ -179,6 +178,7 @@ MODULE_DIRAUTH_SOURCES = \
|
||||
src/feature/dirauth/dircollate.c \
|
||||
src/feature/dirauth/dirvote.c \
|
||||
src/feature/dirauth/dsigs_parse.c \
|
||||
src/feature/dirauth/process_descs.c \
|
||||
src/feature/dirauth/recommend_pkg.c \
|
||||
src/feature/dirauth/shared_random.c \
|
||||
src/feature/dirauth/shared_random_state.c
|
||||
|
@ -9,6 +9,8 @@
|
||||
#include "feature/dirauth/dirauth_sys.h"
|
||||
#include "feature/dirauth/dirvote.h"
|
||||
#include "feature/dirauth/dirauth_periodic.h"
|
||||
#include "feature/dirauth/process_descs.h"
|
||||
|
||||
#include "lib/subsys/subsys.h"
|
||||
|
||||
static int
|
||||
@ -21,6 +23,7 @@ subsys_dirauth_initialize(void)
|
||||
static void
|
||||
subsys_dirauth_shutdown(void)
|
||||
{
|
||||
dirserv_free_fingerprint_list();
|
||||
dirvote_free_all();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user