diff options
Diffstat (limited to 'lib/libssl/src/crypto/md2/md2_one.c')
-rw-r--r-- | lib/libssl/src/crypto/md2/md2_one.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/md2/md2_one.c b/lib/libssl/src/crypto/md2/md2_one.c index b12c37ce4de..835160ef56d 100644 --- a/lib/libssl/src/crypto/md2/md2_one.c +++ b/lib/libssl/src/crypto/md2/md2_one.c @@ -88,6 +88,6 @@ unsigned char *MD2(const unsigned char *d, unsigned long n, unsigned char *md) } #endif MD2_Final(md,&c); - memset(&c,0,sizeof(c)); /* Security consideration */ + OPENSSL_cleanse(&c,sizeof(c)); /* Security consideration */ return(md); } |