diff options
author | Roger Dingledine <arma@torproject.org> | 2008-03-21 21:59:57 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-03-21 21:59:57 +0000 |
commit | 52b267b9876245ed7a7335f8a9063ca475f4b5a2 (patch) | |
tree | 416a697c059aedd4c7d0af95522671b2ea1ddf8a /src/or/test.c | |
parent | b5b77f8bf37a193f23c5b68f688f6175266a612f (diff) | |
download | tor-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.c | 4 |
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(); |