summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-05-12 15:42:18 +0000
committerNick Mathewson <nickm@torproject.org>2008-05-12 15:42:18 +0000
commit040754b3a04427e4f585c7943c532ea1f8a96bf4 (patch)
tree3156b08c985eddce815b8248e4d15de0955198b1
parent029a8976345a0840c725b1200611ab5b6fc27fd4 (diff)
downloadtor-040754b3a04427e4f585c7943c532ea1f8a96bf4.tar.gz
tor-040754b3a04427e4f585c7943c532ea1f8a96bf4.zip
r19707@catbus: nickm | 2008-05-12 11:42:05 -0400
Backport: Actually load the legacy key, not just the authority key twice. svn:r14595
-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 6695989b1f..909fa3d4d5 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -344,7 +344,7 @@ init_v3_authority_keys(void)
return -1;
if (get_options()->V3AuthUseLegacyKey &&
- load_authority_keyset(0, &legacy_signing_key,
+ load_authority_keyset(1, &legacy_signing_key,
&legacy_key_certificate)<0)
return -1;