aboutsummaryrefslogtreecommitdiff
path: root/crypto/rand/randfile.c
diff options
context:
space:
mode:
authorLutz Jänicke <jaenicke@openssl.org>2008-05-20 08:10:48 +0000
committerLutz Jänicke <jaenicke@openssl.org>2008-05-20 08:10:48 +0000
commit3de5a7745f3dc2c559602d67c30cd219a984104a (patch)
treebd53e49fce39df11712836324113cb947b306a3d /crypto/rand/randfile.c
parent94fd382f8b4abdc3e65e5be584b76c2b37017d7a (diff)
downloadopenssl-3de5a7745f3dc2c559602d67c30cd219a984104a.zip
openssl-3de5a7745f3dc2c559602d67c30cd219a984104a.tar.gz
openssl-3de5a7745f3dc2c559602d67c30cd219a984104a.tar.bz2
Correctly adjust location of comment
Submitted by: Ben Laurie <ben@links.org>
Diffstat (limited to 'crypto/rand/randfile.c')
-rw-r--r--crypto/rand/randfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/randfile.c b/crypto/rand/randfile.c
index 7468eaa..0c7f9e6 100644
--- a/crypto/rand/randfile.c
+++ b/crypto/rand/randfile.c
@@ -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;