aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/md4
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-11-29 11:31:18 +0000
committerRichard Levitte <levitte@openssl.org>2002-11-29 11:31:18 +0000
commit6bad9d0522f588514d5c302c348da219d0574a59 (patch)
tree40f30ca331dfe9687f9ac1eaa01ab40485cb6f01 /crypto/md4
parentdd5463333966c46f6a40df2cac53ab21962f303f (diff)
downloadopenssl-6bad9d0522f588514d5c302c348da219d0574a59.tar.gz
A few more memset()s converted to OPENSSL_cleanse().
I *think* I got them all covered by now, bu please, if you find any more, tell me and I'll correct it. PR: 343
Diffstat (limited to 'crypto/md4')
-rw-r--r--crypto/md4/md4_one.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/md4/md4_one.c b/crypto/md4/md4_one.c
index 87a995d38d..53efd430ec 100644
--- a/crypto/md4/md4_one.c
+++ b/crypto/md4/md4_one.c
@@ -89,7 +89,7 @@ unsigned char *MD4(const unsigned char *d, unsigned long n, unsigned char *md)
}
#endif
MD4_Final(md,&c);
- memset(&c,0,sizeof(c)); /* security consideration */
+ OPENSSL_cleanse(&c,sizeof(c)); /* security consideration */
return(md);
}