aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-02-10 22:41:52 -0500
committerNick Mathewson <nickm@torproject.org>2014-02-10 22:41:52 -0500
commitc0483c7f851b2aa1933fb591eb0ca8f66b162022 (patch)
treee89132f36f27dc57ad016a952e58fcdcdd667095 /src/or/router.c
parentdd3f2f63324f1c8eeaf6027f345ce8cee6438f1a (diff)
downloadtor-c0483c7f851b2aa1933fb591eb0ca8f66b162022.tar.gz
tor-c0483c7f851b2aa1933fb591eb0ca8f66b162022.zip
Remove options for configuring HS authorities.
(There is no longer meaningfully any such thing as a HS authority, since we stopped uploading or downloading v0 hs descriptors in 0.2.2.1-alpha.) Implements #10881, and part of #10841.
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/router.c b/src/or/router.c
index fd0df52dce..b96428362b 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -935,8 +935,7 @@ init_keys(void)
type = ((options->V1AuthoritativeDir ? V1_DIRINFO : NO_DIRINFO) |
(options->V3AuthoritativeDir ?
(V3_DIRINFO|MICRODESC_DIRINFO|EXTRAINFO_DIRINFO) : NO_DIRINFO) |
- (options->BridgeAuthoritativeDir ? BRIDGE_DIRINFO : NO_DIRINFO) |
- (options->HSAuthoritativeDir ? HIDSERV_DIRINFO : NO_DIRINFO));
+ (options->BridgeAuthoritativeDir ? BRIDGE_DIRINFO : NO_DIRINFO));
ds = router_get_trusteddirserver_by_digest(digest);
if (!ds) {