summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/md2/md2_one.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/crypto/md2/md2_one.c')
-rw-r--r--crypto/openssl/crypto/md2/md2_one.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssl/crypto/md2/md2_one.c b/crypto/openssl/crypto/md2/md2_one.c
index b12c37c..835160e 100644
--- a/crypto/openssl/crypto/md2/md2_one.c
+++ b/crypto/openssl/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);
}
OpenPOWER on IntegriCloud