summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-05-12 15:40:36 +0000
committerNick Mathewson <nickm@torproject.org>2008-05-12 15:40:36 +0000
commit42dc560b1aee0fa2e8e1b12f1fd6ebc845930689 (patch)
treeacdd766d6d77cf4f19101534dead196c66456482 /src/or
parent29b29550d5c861c3f4092d13a9d7510eaac43705 (diff)
downloadtor-42dc560b1aee0fa2e8e1b12f1fd6ebc845930689.tar.gz
tor-42dc560b1aee0fa2e8e1b12f1fd6ebc845930689.zip
r19705@catbus: nickm | 2008-05-12 11:40:15 -0400
Actually load the legacy key, not just the authority key twice. svn:r14594
Diffstat (limited to 'src/or')
-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 330b85cf16..eb09ac4947 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;