Commit 36024add authored by David Lawrence's avatar David Lawrence
Browse files

made "err" in ssleay_rand_pseudo_bytes unsigned long to match the return value

of ERR_peek_error().
parent a9bc95f2
......@@ -479,7 +479,8 @@ static int ssleay_rand_bytes(unsigned char *buf, int num)
unpredictable */
static int ssleay_rand_pseudo_bytes(unsigned char *buf, int num)
{
int ret, err;
int ret;
unsigned long err;
ret = RAND_bytes(buf, num);
if (ret == 0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment