Commit a8722803 authored by Richard Levitte's avatar Richard Levitte
Browse files

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

parent b79c82ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
		{