diff options
author | Richard Levitte <levitte@openssl.org> | 2002-11-29 11:30:45 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-11-29 11:30:45 +0000 |
commit | 43d601641f3476962c580c3b0490874a6e79d260 (patch) | |
tree | c9b4b7cc1f30dfdb419930e45aabf8a46e43a460 /crypto/md2/md2_dgst.c | |
parent | 55f78baf32f213301a0e8d6c6e7f40bd3b9857b1 (diff) |
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/md2/md2_dgst.c')
-rw-r--r-- | crypto/md2/md2_dgst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/md2/md2_dgst.c b/crypto/md2/md2_dgst.c index f98009acad..47866c3c86 100644 --- a/crypto/md2/md2_dgst.c +++ b/crypto/md2/md2_dgst.c @@ -196,7 +196,7 @@ static void md2_block(MD2_CTX *c, const unsigned char *d) t=(t+i)&0xff; } memcpy(sp1,state,16*sizeof(MD2_INT)); - memset(state,0,48*sizeof(MD2_INT)); + OPENSSL_cleanse(state,48*sizeof(MD2_INT)); } int MD2_Final(unsigned char *md, MD2_CTX *c) |