mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Merge branch 'bug16034_no_more_openssl_098_squashed'
Conflicts: src/test/testing_common.c
This commit is contained in:
+2
-3
@@ -502,8 +502,7 @@ bench_dh(void)
|
||||
" %f millisec each.\n", NANOCOUNT(start, end, iters)/1e6);
|
||||
}
|
||||
|
||||
#if (!defined(OPENSSL_NO_EC) \
|
||||
&& OPENSSL_VERSION_NUMBER >= OPENSSL_V_SERIES(1,0,0))
|
||||
#if !defined(OPENSSL_NO_EC)
|
||||
#define HAVE_EC_BENCHMARKS
|
||||
static void
|
||||
bench_ecdh_impl(int nid, const char *name)
|
||||
@@ -625,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);
|
||||
|
||||
@@ -74,7 +74,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);
|
||||
|
||||
@@ -358,7 +358,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);
|
||||
|
||||
@@ -270,7 +270,7 @@ main(int c, const char **v)
|
||||
return 1;
|
||||
}
|
||||
crypto_set_tls_dh_prime();
|
||||
crypto_seed_rng(1);
|
||||
crypto_seed_rng();
|
||||
rep_hist_init();
|
||||
network_init();
|
||||
setup_directory();
|
||||
|
||||
Reference in New Issue
Block a user