summaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-04-25 13:22:35 -0400
committerNick Mathewson <nickm@torproject.org>2017-05-09 10:30:51 -0400
commit2b9823b3106df2cf23e2de13ae9a9b6d12607ce4 (patch)
tree44994ab64f0df56c6ce4b5a866a6c301a8bac117 /src/or/rendservice.c
parentd4a2decc56cc5328c8edfde2cc512efd844cc32b (diff)
downloadtor-2b9823b3106df2cf23e2de13ae9a9b6d12607ce4.tar.gz
tor-2b9823b3106df2cf23e2de13ae9a9b6d12607ce4.zip
config: Remove AllowInvalidNodes option
Deprecated in 0.2.9.2-alpha, this commits changes it as OBSOLETE() and cleans up the code associated with it. Partially fixes #22060 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index c19c85f6a3..281736c453 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -4179,8 +4179,6 @@ rend_consider_services_intro_points(void)
const node_t *node;
rend_intro_point_t *intro;
router_crn_flags_t flags = CRN_NEED_UPTIME|CRN_NEED_DESC;
- if (get_options()->AllowInvalid_ & ALLOW_INVALID_INTRODUCTION)
- flags |= CRN_ALLOW_INVALID;
router_crn_flags_t direct_flags = flags;
direct_flags |= CRN_PREF_ADDR;
direct_flags |= CRN_DIRECT_CONN;