Loading crypto/rand/randfile.c +1 −1 Original line number Diff line number Diff line Loading @@ -128,10 +128,10 @@ int RAND_load_file(const char *file, long bytes) n = BUFSIZE; i=fread(buf,1,n,in); if (i <= 0) break; /* even if n != i, use the full array */ #ifdef PURIFY RAND_add(buf,i,(double)i); #else /* even if n != i, use the full array */ RAND_add(buf,n,(double)i); #endif ret+=i; Loading Loading
crypto/rand/randfile.c +1 −1 Original line number Diff line number Diff line Loading @@ -128,10 +128,10 @@ int RAND_load_file(const char *file, long bytes) n = BUFSIZE; i=fread(buf,1,n,in); if (i <= 0) break; /* even if n != i, use the full array */ #ifdef PURIFY RAND_add(buf,i,(double)i); #else /* even if n != i, use the full array */ RAND_add(buf,n,(double)i); #endif ret+=i; Loading