make it build, too

svn:r14151
This commit is contained in:
Roger Dingledine 2008-03-21 21:59:57 +00:00
parent b5b77f8bf3
commit 52b267b987

View File

@ -392,7 +392,7 @@ test_crypto(void)
test_assert(data1 && data2 && data3); test_assert(data1 && data2 && data3);
/* Try out RNG. */ /* Try out RNG. */
test_assert(! crypto_seed_rng()); test_assert(! crypto_seed_rng(0));
crypto_rand(data1, 100); crypto_rand(data1, 100);
crypto_rand(data2, 100); crypto_rand(data2, 100);
test_memneq(data1,data2,100); test_memneq(data1,data2,100);
@ -3656,7 +3656,7 @@ main(int c, char**v)
return 1; return 1;
} }
crypto_seed_rng(); crypto_seed_rng(1);
if (0) { if (0) {
bench_aes(); bench_aes();