[or-cvs] Remove obsolete link-key keyword
Nick Mathewson
nickm at seul.org
Sat Aug 7 03:37:38 UTC 2004
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv25303/src/or
Modified Files:
routerparse.c
Log Message:
Remove obsolete link-key keyword
Index: routerparse.c
===================================================================
RCS file: /home/or/cvsroot/src/or/routerparse.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- routerparse.c 7 Aug 2004 03:25:42 -0000 1.27
+++ routerparse.c 7 Aug 2004 03:37:36 -0000 1.28
@@ -29,7 +29,6 @@
K_SIGNED_DIRECTORY,
K_SIGNING_KEY,
K_ONION_KEY,
- K_LINK_KEY, /* XXXX obsolete; remove in June. */
K_ROUTER_SIGNATURE,
K_PUBLISHED,
K_RUNNING_ROUTERS,
@@ -102,7 +101,6 @@
{ "signed-directory", K_SIGNED_DIRECTORY, NO_ARGS, NO_OBJ, DIR_ONLY },
{ "signing-key", K_SIGNING_KEY, NO_ARGS, NEED_KEY,RTR_ONLY },
{ "onion-key", K_ONION_KEY, NO_ARGS, NEED_KEY,RTR_ONLY },
- { "link-key", K_LINK_KEY, NO_ARGS, NEED_KEY,RTR_ONLY },
{ "router-signature", K_ROUTER_SIGNATURE, NO_ARGS, NEED_OBJ,RTR_ONLY },
{ "running-routers", K_RUNNING_ROUTERS, ARGS, NO_OBJ, DIR_ONLY },
{ "ports", K_PORTS, ARGS, NO_OBJ, RTR_ONLY },
@@ -757,10 +755,6 @@
router->onion_pkey = tok->key;
tok->key = NULL; /* Prevent free */
- if ((tok = find_first_by_keyword(tokens, K_LINK_KEY))) {
- log_fn(LOG_INFO, "Skipping obsolete link-key");
- }
-
if (!(tok = find_first_by_keyword(tokens, K_SIGNING_KEY))) {
log_fn(LOG_WARN, "Missing identity key"); goto err;
}
More information about the tor-commits
mailing list