[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r10314: dir-signing-key should never take arguments. (in tor/trunk: . src/or)
Author: nickm
Date: 2007-05-24 14:12:44 -0400 (Thu, 24 May 2007)
New Revision: 10314
Modified:
tor/trunk/
tor/trunk/src/or/routerparse.c
Log:
r12935@catbus: nickm | 2007-05-24 14:12:04 -0400
dir-signing-key should never take arguments.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r12935] on 8246c3cf-6607-4228-993b-4d95d33730f1
Modified: tor/trunk/src/or/routerparse.c
===================================================================
--- tor/trunk/src/or/routerparse.c 2007-05-24 18:12:41 UTC (rev 10313)
+++ tor/trunk/src/or/routerparse.c 2007-05-24 18:12:44 UTC (rev 10314)
@@ -227,8 +227,7 @@
T1( "published", K_PUBLISHED, CONCAT_ARGS, NO_OBJ ),
T0N("opt", K_OPT, CONCAT_ARGS, OBJ_OK ),
T1( "contact", K_CONTACT, CONCAT_ARGS, NO_OBJ ),
- /* XXXX should dir-signing-key really have ARGS? */
- T1( "dir-signing-key", K_DIR_SIGNING_KEY, ARGS, NEED_KEY_1024 ),
+ T1( "dir-signing-key", K_DIR_SIGNING_KEY, NO_ARGS, NEED_KEY_1024 ),
T1( "fingerprint", K_FINGERPRINT, CONCAT_ARGS, NO_OBJ ),
T1( "network-status-version", K_NETWORK_STATUS_VERSION,
GE(1), NO_OBJ ),
@@ -1034,7 +1033,7 @@
tor_parse_long(tok->args[1],10,0,INT_MAX,NULL,NULL);
router->bandwidthcapacity =
tor_parse_long(tok->args[2],10,0,INT_MAX,NULL,NULL);
- /* XXX we don't error-check these values? -RD */
+ /* XXXX020 we don't error-check these values? -RD */
if ((tok = find_first_by_keyword(tokens, K_UPTIME))) {
tor_assert(tok->n_args >= 1);