diff options
author | Roger Dingledine <arma@torproject.org> | 2004-11-09 07:29:05 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-11-09 07:29:05 +0000 |
commit | 9f3e3d2b7121dbcf054decc9fe922b05c5afe326 (patch) | |
tree | 00067cee126c9642d3a8faf2151808ca92ba8527 | |
parent | cad26b343dba0ee1047a0053256e2b9845f90743 (diff) | |
download | tor-9f3e3d2b7121dbcf054decc9fe922b05c5afe326.tar.gz tor-9f3e3d2b7121dbcf054decc9fe922b05c5afe326.zip |
stop wanting to split init_keys()
svn:r2735
-rw-r--r-- | src/or/main.c | 2 | ||||
-rw-r--r-- | src/or/router.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/or/main.c b/src/or/main.c index 7125b8c5ad..e549a89d3e 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -704,8 +704,6 @@ static int do_hup(void) { return -1; } options = get_options(); -/*XXX this should move to options_act, but only once it's been - * removed from init_keys() */ if(authdir_mode(options)) { /* reload the approved-routers file */ tor_snprintf(keydir,sizeof(keydir),"%s/approved-routers", options->DataDirectory); diff --git a/src/or/router.c b/src/or/router.c index 75f2fe6a41..c20cc96dd7 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -239,7 +239,7 @@ int init_keys(void) { if (!key_lock) key_lock = tor_mutex_new(); - /* OP's don't need persistant keys; just make up an identity and + /* OP's don't need persistent keys; just make up an identity and * initialize the TLS context. */ if (!server_mode(options)) { if (!(prkey = crypto_new_pk_env())) |