diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2014-09-04 06:25:38 +0200 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2014-09-04 06:25:38 +0200 |
commit | 10fe5bad9aaf326b925092883b856f64f8dca478 (patch) | |
tree | 2931015cb43ec7eb5a29bedfde7ce6b45728a39a /src/or/dirserv.c | |
parent | 54348201f7cce9c0c01e9d4835714a2fec55c67c (diff) | |
download | tor-10fe5bad9aaf326b925092883b856f64f8dca478.tar.gz tor-10fe5bad9aaf326b925092883b856f64f8dca478.zip |
Remove the AuthDirRejectUnlisted config option
This is in preparation for a big patch series removing the entire Naming
system from Tor. In its wake, the approved-routers file is being
deprecated, and a replacement option to allow only pre-approved routers
is not being implemented.
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 8395c2e414..00b282d918 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -362,7 +362,6 @@ dirserv_get_status_impl(const char *id_digest, const char *nickname, const char *platform, const char *contact, const char **msg, int should_log) { - int reject_unlisted = get_options()->AuthDirRejectUnlisted; uint32_t result; router_status_t *status_by_digest; @@ -458,11 +457,6 @@ dirserv_get_status_impl(const char *id_digest, const char *nickname, nickname, fmt_addr32(addr)); result |= FP_INVALID; } - if (reject_unlisted) { - if (msg) - *msg = "Authdir rejects unknown routers."; - return FP_REJECT; - } } return result; |