mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
make it build, too
svn:r14151
This commit is contained in:
parent
b5b77f8bf3
commit
52b267b987
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user