diff options
author | Dongsun Lee <ds73.lee@samsung.com> | 2016-09-26 14:27:31 +0900 |
---|---|---|
committer | Dongsun Lee <ds73.lee@samsung.com> | 2016-09-26 14:27:31 +0900 |
commit | a213d701e675e51d5efc03c19e402d174f483f4c (patch) | |
tree | 90a1ba41072aa91234501613f0ea2d67be89aa27 /crypto/md2/md2_dgst.c | |
parent | 86af5cfd9400698182796f3c5a2dc6334f1feb9e (diff) | |
parent | 00fa4cfde370fcd893adae30169ec00d51381581 (diff) | |
download | openssl-tizen_3.0.tar.gz openssl-tizen_3.0.tar.bz2 openssl-tizen_3.0.zip |
Merge tag 'upstream/1.0.2i' into tizen_basesubmit/tizen_base/20160926.081001accepted/tizen/base/20161001.020340tizen_3.0
Change-Id: I16b1811518d680619ab815e05e75a8c83bc8d0dc
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
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 9cd79f8..7f5d9ba 100644 --- a/crypto/md2/md2_dgst.c +++ b/crypto/md2/md2_dgst.c @@ -219,6 +219,6 @@ int MD2_Final(unsigned char *md, MD2_CTX *c) for (i = 0; i < 16; i++) md[i] = (UCHAR) (p1[i] & 0xff); - memset((char *)&c, 0, sizeof(c)); + OPENSSL_cleanse(c, sizeof(*c)); return 1; } |