[or-cvs] r14151: make it build, too (tor/trunk/src/or)
arma at seul.org
arma at seul.org
Fri Mar 21 21:59:57 UTC 2008
Author: arma
Date: 2008-03-21 17:59:57 -0400 (Fri, 21 Mar 2008)
New Revision: 14151
Modified:
tor/trunk/src/or/test.c
Log:
make it build, too
Modified: tor/trunk/src/or/test.c
===================================================================
--- tor/trunk/src/or/test.c 2008-03-21 19:18:57 UTC (rev 14150)
+++ tor/trunk/src/or/test.c 2008-03-21 21:59:57 UTC (rev 14151)
@@ -392,7 +392,7 @@
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 @@
return 1;
}
- crypto_seed_rng();
+ crypto_seed_rng(1);
if (0) {
bench_aes();
More information about the tor-commits
mailing list