Switch from ossl_rand to DRBG rand
[openssl.git] / test / dsatest.c
index 09a49fc36946a8b2d476dee930037a236a12cbc6..7c58731df8d9fbfac827c81efe7c57e6186151c0 100644 (file)
@@ -63,9 +63,6 @@ static unsigned char out_g[] = {
 
 static const unsigned char str1[] = "12345678901234567890";
 
-static const char rnd_seed[] =
-    "string to make the random number generator think it has randomness";
-
 static int dsa_test(void)
 {
     BN_GENCB *cb;
@@ -77,8 +74,6 @@ static int dsa_test(void)
     unsigned int siglen;
     const BIGNUM *p = NULL, *q = NULL, *g = NULL;
 
-    RAND_seed(rnd_seed, sizeof rnd_seed);
-
     if (!TEST_ptr(cb = BN_GENCB_new()))
         goto end;