Convert memset calls to OPENSSL_cleanse
authorMatt Caswell <matt@openssl.org>
Fri, 24 Jun 2016 22:37:27 +0000 (23:37 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 30 Jun 2016 14:56:16 +0000 (15:56 +0100)
commitbeaa2c03e70b523f006003a489497a18b4d53e6c
treefcd0f3495784be1fca2e2ef6c5154886fcbacdc6
parent08327bfb261eea4a3c356d6ebff81d838f063d1b
Convert memset calls to OPENSSL_cleanse

Ensure things really do get cleared when we intend them to.

Addresses an OCAP Audit issue.

Reviewed-by: Andy Polyakov <appro@openssl.org>
(cherry picked from commit cb5ebf961333896776fbce10ef88c2af7bec8aea)
crypto/bn/bn_lib.c
crypto/evp/digest.c
crypto/md2/md2_dgst.c
crypto/md32_common.h
crypto/rand/rand_unix.c
crypto/whrlpool/wp_dgst.c