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;
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);