# include <openssl/err.h>
# include <openssl/rand.h>
-static const char rnd_seed[] =
- "string to make the random number generator think it has randomness";
-
-
/* functions to change the RAND_METHOD */
static int fbytes(unsigned char *buf, int num);
return ret;
}
-static int x9_62_tests()
+static int x9_62_tests(void)
{
int ret = 0;
#ifdef OPENSSL_NO_EC
TEST_note("Elliptic curves are disabled.");
#else
- /* initialize the prng */
- RAND_seed(rnd_seed, sizeof(rnd_seed));
ADD_TEST(x9_62_tests);
ADD_TEST(test_builtin);
#endif