summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/bench.c2
-rw-r--r--src/test/test_crypto.c2
-rw-r--r--src/test/test_workqueue.c2
-rw-r--r--src/test/testing_common.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/test/bench.c b/src/test/bench.c
index 6909e73ab5..a74fc776fa 100644
--- a/src/test/bench.c
+++ b/src/test/bench.c
@@ -624,7 +624,7 @@ main(int argc, const char **argv)
reset_perftime();
- crypto_seed_rng(1);
+ crypto_seed_rng();
crypto_init_siphash_key();
options = options_new();
init_logging(1);
diff --git a/src/test/test_crypto.c b/src/test/test_crypto.c
index e9fb8bf084..5c263baf51 100644
--- a/src/test/test_crypto.c
+++ b/src/test/test_crypto.c
@@ -72,7 +72,7 @@ test_crypto_rng(void *arg)
/* Try out RNG. */
(void)arg;
- tt_assert(! crypto_seed_rng(0));
+ tt_assert(! crypto_seed_rng());
crypto_rand(data1, 100);
crypto_rand(data2, 100);
tt_mem_op(data1,OP_NE, data2,100);
diff --git a/src/test/test_workqueue.c b/src/test/test_workqueue.c
index aaff5069be..c524b2454e 100644
--- a/src/test/test_workqueue.c
+++ b/src/test/test_workqueue.c
@@ -356,7 +356,7 @@ main(int argc, char **argv)
init_logging(1);
crypto_global_init(1, NULL, NULL);
- crypto_seed_rng(1);
+ crypto_seed_rng();
rq = replyqueue_new(as_flags);
tor_assert(rq);
diff --git a/src/test/testing_common.c b/src/test/testing_common.c
index 403c83bdd2..e0c0046d71 100644
--- a/src/test/testing_common.c
+++ b/src/test/testing_common.c
@@ -270,7 +270,7 @@ main(int c, const char **v)
return 1;
}
crypto_set_tls_dh_prime(NULL);
- crypto_seed_rng(1);
+ crypto_seed_rng();
rep_hist_init();
network_init();
setup_directory();