delete "string to make the random number generator think it has entropy"
authortedu <tedu@openbsd.org>
Fri, 18 Apr 2014 17:44:24 +0000 (17:44 +0000)
committertedu <tedu@openbsd.org>
Fri, 18 Apr 2014 17:44:24 +0000 (17:44 +0000)
lib/libssl/src/ssl/ssltest.c

index 700189d..cee5834 100644 (file)
@@ -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--;