Browse Source

make it build, too

svn:r14151
Roger Dingledine 17 years ago
parent
commit
52b267b987
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/or/test.c

+ 2 - 2
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();