提交 a8722803 编写于 作者: R Richard Levitte

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

上级 b79c82ea
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册