aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-09-29 22:51:47 +0000
committerNick Mathewson <nickm@torproject.org>2006-09-29 22:51:47 +0000
commitc2d304366b301a41a2dc2c20602bb27046bf1daf (patch)
treedbb536786fcf99ec3208060f24bb5342f77f8860 /src/or/router.c
parent8af07e817ed3f9a25852724a4da8c4e07fff86a5 (diff)
downloadtor-c2d304366b301a41a2dc2c20602bb27046bf1daf.tar
tor-c2d304366b301a41a2dc2c20602bb27046bf1daf.tar.gz
r9032@Kushana: nickm | 2006-09-29 18:51:42 -0400
Now, all log messages should be distinct. svn:r8545
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/router.c b/src/or/router.c
index fc399ba2e..ed09d8586 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -127,7 +127,7 @@ rotate_onion_key(void)
tor_snprintf(fname_prev,sizeof(fname_prev),
"%s/keys/secret_onion_key.old",get_options()->DataDirectory);
if (!(prkey = crypto_new_pk_env())) {
- log_err(LD_GENERAL,"Error creating crypto environment.");
+ log_err(LD_GENERAL,"Error constructing rotated onion key");
goto error;
}
if (crypto_pk_generate_key(prkey)) {
@@ -187,7 +187,7 @@ init_key_from_file(const char *fname)
FILE *file = NULL;
if (!(prkey = crypto_new_pk_env())) {
- log_err(LD_GENERAL,"Error creating crypto environment.");
+ log_err(LD_GENERAL,"Error constructing key");
goto error;
}