aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2009-07-27 22:51:20 -0400
committerRoger Dingledine <arma@torproject.org>2009-07-27 22:51:20 -0400
commita73acdd46f946a18f678167f2f8083cac18ebe01 (patch)
treef489ae04155ad1e9087f5c1fc1f04525ce0d51bf /src
parent0a4e2397c0f184a1717ec7475381f9d12f189cb7 (diff)
downloadtor-a73acdd46f946a18f678167f2f8083cac18ebe01.tar.gz
tor-a73acdd46f946a18f678167f2f8083cac18ebe01.zip
Write fingerprint to file and log without spaces
Now it will look like the fingerprints in our bridges documentation, and confuse fewer users.
Diffstat (limited to 'src')
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 93afe4fad5..6f899854e3 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -568,7 +568,7 @@ init_keys(void)
/* 5. Dump fingerprint to 'fingerprint' */
keydir = get_datadir_fname("fingerprint");
log_info(LD_GENERAL,"Dumping fingerprint to \"%s\"...",keydir);
- if (crypto_pk_get_fingerprint(get_identity_key(), fingerprint, 1)<0) {
+ if (crypto_pk_get_fingerprint(get_identity_key(), fingerprint, 0)<0) {
log_err(LD_GENERAL,"Error computing fingerprint");
tor_free(keydir);
return -1;