RAND_add() wants a double as it's last argument.

This commit is contained in:
Richard Levitte 2004-03-25 15:52:43 +00:00
parent b79c82eaab
commit a87228031f

View file

@ -140,7 +140,7 @@ static int bnrand(int pseudorand, BIGNUM *rnd, int bits, int top, int bottom)
/* make a random number and set the top and bottom bits */
time(&tim);
RAND_add(&tim,sizeof(tim),0);
RAND_add(&tim,sizeof(tim),0.0);
if (pseudorand)
{