summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2014-09-04 23:16:51 +0200
committerNick Mathewson <nickm@torproject.org>2014-09-09 11:50:21 -0400
commit607724c696a6e1bb10c8a955dac38f0ea947ce34 (patch)
tree126d7b64ea14a844b110c5e4b0ee9a0c848aaaa4 /src/or/router.c
parent835672166255fd090a2fb92ccf48ec0cfd8779b7 (diff)
downloadtor-607724c696a6e1bb10c8a955dac38f0ea947ce34.tar.gz
tor-607724c696a6e1bb10c8a955dac38f0ea947ce34.zip
Remove support for naming directory authorities
This implements the meat of #12899. This commit should simply remove the parts of Tor dirauths used to check whether a relay was supposed to be named or not, it doesn't yet convert to a new mechanism for reject/invalid/baddir/badexiting relays.
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 4d1e74e731..7bcc02ef39 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -911,9 +911,8 @@ init_keys(void)
const char *m = NULL;
routerinfo_t *ri;
/* We need to add our own fingerprint so it gets recognized. */
- if (dirserv_add_own_fingerprint(options->Nickname,
- get_server_identity_key())) {
- log_err(LD_GENERAL,"Error adding own fingerprint to approved set");
+ if (dirserv_add_own_fingerprint(get_server_identity_key())) {
+ log_err(LD_GENERAL,"Error adding own fingerprint to set of relays");
return -1;
}
if (mydesc) {