From 1dbe1efb0a46bd48914e9fe0fd962b5e953232cc Mon Sep 17 00:00:00 2001 From: tedu Date: Fri, 18 Apr 2014 17:44:24 +0000 Subject: [PATCH] delete "string to make the random number generator think it has entropy" --- lib/libssl/src/ssl/ssltest.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/libssl/src/ssl/ssltest.c b/lib/libssl/src/ssl/ssltest.c index 700189db432..cee5834fef2 100644 --- a/lib/libssl/src/ssl/ssltest.c +++ b/lib/libssl/src/ssl/ssltest.c @@ -281,8 +281,6 @@ static int s_nbio = 0; #endif #endif -static const char rnd_seed[] = "string to make the random number generator think it has entropy"; - int doit_biopair(SSL *s_ssl, SSL *c_ssl, long bytes, clock_t *s_time, clock_t *c_time); int doit(SSL *s_ssl, SSL *c_ssl, long bytes); static int do_test_cipherlist(void); @@ -523,8 +521,6 @@ main(int argc, char *argv[]) } CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON); - RAND_seed(rnd_seed, sizeof rnd_seed); - bio_stdout = BIO_new_fp(stdout, BIO_NOCLOSE|BIO_FP_TEXT); argc--; -- 2.20.1