Correctly adjust location of comment
Submitted by: Ben Laurie <ben@links.org>
This commit is contained in:
parent
94fd382f8b
commit
3de5a7745f
@ -128,10 +128,10 @@ int RAND_load_file(const char *file, long bytes)
|
|||||||
n = BUFSIZE;
|
n = BUFSIZE;
|
||||||
i=fread(buf,1,n,in);
|
i=fread(buf,1,n,in);
|
||||||
if (i <= 0) break;
|
if (i <= 0) break;
|
||||||
/* even if n != i, use the full array */
|
|
||||||
#ifdef PURIFY
|
#ifdef PURIFY
|
||||||
RAND_add(buf,i,(double)i);
|
RAND_add(buf,i,(double)i);
|
||||||
#else
|
#else
|
||||||
|
/* even if n != i, use the full array */
|
||||||
RAND_add(buf,n,(double)i);
|
RAND_add(buf,n,(double)i);
|
||||||
#endif
|
#endif
|
||||||
ret+=i;
|
ret+=i;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user