Correctly adjust location of comment

Submitted by: Ben Laurie <ben@links.org>
This commit is contained in:
Lutz Jänicke 2008-05-20 08:10:51 +00:00
parent 56bef2df4f
commit 03e79ed05e

View File

@ -126,10 +126,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;