summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2011-05-21 18:55:23 -0400
committerRoger Dingledine <arma@torproject.org>2011-05-21 18:55:23 -0400
commit1ba1bdee4bd8f3c00e603fe9b0fd2f14eeb60466 (patch)
treea2aae5f166391813bbc39899eeb22d9b4236bb97 /src/or/router.c
parent6b54edef4f93748e8247067242aad7158e82a148 (diff)
downloadtor-1ba1bdee4bd8f3c00e603fe9b0fd2f14eeb60466.tar.gz
tor-1ba1bdee4bd8f3c00e603fe9b0fd2f14eeb60466.zip
naked constants are ugly
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 777441affb..184715b750 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -490,8 +490,8 @@ init_keys(void)
char fingerprint_line[MAX_NICKNAME_LEN+FINGERPRINT_LEN+3];
const char *mydesc;
crypto_pk_env_t *prkey;
- char digest[20];
- char v3_digest[20];
+ char digest[DIGEST_LEN];
+ char v3_digest[DIGEST_LEN];
char *cp;
or_options_t *options = get_options();
authority_type_t type;