Merge branch 'bug16034_no_more_openssl_098_squashed'

Conflicts:
	src/test/testing_common.c
This commit is contained in:
Nick Mathewson
2015-05-20 15:33:22 -04:00
12 changed files with 191 additions and 225 deletions
+2 -3
View File
@@ -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);
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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();