aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-01-15 13:26:02 -0500
committerNick Mathewson <nickm@torproject.org>2011-01-15 13:26:02 -0500
commit1758ef51de8b44141184a36bcd36dea349d9e65d (patch)
treea3b514570687b43301644e2070ae5c943c9fdea0 /src/test
parent7ea674e0e0dfa982ae901450d4e16371aad0def8 (diff)
parent1393985768d760e11e45faabb537d28248306e8b (diff)
downloadtor-1758ef51de8b44141184a36bcd36dea349d9e65d.tar.gz
tor-1758ef51de8b44141184a36bcd36dea349d9e65d.zip
Merge remote branch 'origin/maint-0.2.2'
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_dir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index 74ea6a55ae..836de94d20 100644
--- a/src/test/test_dir.c
+++ b/src/test/test_dir.c
@@ -745,11 +745,11 @@ test_dir_v3_networkstatus(void)
sign_skey_leg1 = pk_generate(4);
test_assert(!crypto_pk_read_private_key_from_string(sign_skey_1,
- AUTHORITY_SIGNKEY_1));
+ AUTHORITY_SIGNKEY_1, -1));
test_assert(!crypto_pk_read_private_key_from_string(sign_skey_2,
- AUTHORITY_SIGNKEY_2));
+ AUTHORITY_SIGNKEY_2, -1));
test_assert(!crypto_pk_read_private_key_from_string(sign_skey_3,
- AUTHORITY_SIGNKEY_3));
+ AUTHORITY_SIGNKEY_3, -1));
test_assert(!crypto_pk_cmp_keys(sign_skey_1, cert1->signing_key));
test_assert(!crypto_pk_cmp_keys(sign_skey_2, cert2->signing_key));