aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-10-29 16:25:08 +1000
committerteor <teor@torproject.org>2019-10-31 12:34:20 +1000
commit11f283f56139e823d77942276d6229d6c39abd9f (patch)
treea297d945b76c4d34303cd1ac959c5f917fd059bf /src/test
parent093a127c82a06546029e42cf0030edf43fb5f87b (diff)
downloadtor-11f283f56139e823d77942276d6229d6c39abd9f.tar.gz
tor-11f283f56139e823d77942276d6229d6c39abd9f.zip
config: Move server transport config into the relay module
This commit: * creates feature/relay/transport_config.[ch], * moves server transport config checks into them, * exposes some code from src/app/config.c (we'll refactor it later in 29211), and * adds thin wrappers to make the moved code compile. No functional changes: the moved code is still enabled, even if the relay module is disabled. (Some of the checks are re-ordered, so the order of some warnings may change.) Part of 32213.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c
index df025fb8f5..fce6ad97dc 100644
--- a/src/test/test_config.c
+++ b/src/test/test_config.c
@@ -18,6 +18,7 @@
#include "core/or/circuitbuild.h"
#include "app/config/config.h"
#include "feature/relay/relay_config.h"
+#include "feature/relay/transport_config.h"
#include "lib/confmgt/confmgt.h"
#include "core/mainloop/connection.h"
#include "core/or/connection_edge.h"