aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-03-21 21:59:57 +0000
committerRoger Dingledine <arma@torproject.org>2008-03-21 21:59:57 +0000
commit52b267b9876245ed7a7335f8a9063ca475f4b5a2 (patch)
tree416a697c059aedd4c7d0af95522671b2ea1ddf8a /src/or/test.c
parentb5b77f8bf37a193f23c5b68f688f6175266a612f (diff)
downloadtor-52b267b9876245ed7a7335f8a9063ca475f4b5a2.tar
tor-52b267b9876245ed7a7335f8a9063ca475f4b5a2.tar.gz
make it build, too
svn:r14151
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/test.c b/src/or/test.c
index 4755c325e..bb4ba09f2 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -392,7 +392,7 @@ test_crypto(void)
test_assert(data1 && data2 && data3);
/* Try out RNG. */
- test_assert(! crypto_seed_rng());
+ test_assert(! crypto_seed_rng(0));
crypto_rand(data1, 100);
crypto_rand(data2, 100);
test_memneq(data1,data2,100);
@@ -3656,7 +3656,7 @@ main(int c, char**v)
return 1;
}
- crypto_seed_rng();
+ crypto_seed_rng(1);
if (0) {
bench_aes();