summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/router.c b/src/or/router.c
index d4be274916..2534d98f12 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -244,8 +244,7 @@ init_keys(void)
char keydir[512];
char keydir2[512];
char fingerprint[FINGERPRINT_LEN+1];
- /*nickname fp\n\0 */
- char fingerprint_line[FINGERPRINT_LEN+MAX_NICKNAME_LEN+3];
+ char fingerprint_line[MAX_NICKNAME_LEN+FINGERPRINT_LEN+3]; /*nickname<space>fp\n\0 */
char *cp;
const char *mydesc, *datadir;
crypto_pk_env_t *prkey;