aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/md4/md4.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/md4/md4.c')
-rw-r--r--crypto/md4/md4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/md4/md4.c b/crypto/md4/md4.c
index e4b0aac011..2ac2d914ff 100644
--- a/crypto/md4/md4.c
+++ b/crypto/md4/md4.c
@@ -108,7 +108,7 @@ void do_fp(FILE *f)
MD4_Init(&c);
for (;;)
{
- i=read(fd,buf,BUFSIZE);
+ i=read(fd,buf,sizeof buf);
if (i <= 0) break;
MD4_Update(&c,buf,(unsigned long)i);
}