Switch from ossl_rand to DRBG rand
[oweals/openssl.git] / test / dhtest.c
index 6403f77b4419cc30e416529115cdcbfca291981c..595732c67322a2bffbda7c27982a3bab653f2a88 100644 (file)
@@ -24,9 +24,6 @@
 
 static int cb(int p, int n, BN_GENCB *arg);
 
-static const char rnd_seed[] =
-    "string to make the random number generator think it has randomness";
-
 static int dh_test(void)
 {
     BN_GENCB *_cb = NULL;
@@ -40,8 +37,6 @@ static int dh_test(void)
     int i, alen, blen, aout, bout;
     int ret = 0;
 
-    RAND_seed(rnd_seed, sizeof rnd_seed);
-
     if (!TEST_ptr(_cb = BN_GENCB_new()))
         goto err;
     BN_GENCB_set(_cb, &cb, NULL);