diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2016-09-22 13:05:59 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2016-09-22 13:05:59 +0000 |
commit | 2c14c598c3061ac2533f997352aa06a2266f44d9 (patch) | |
tree | 470894a14935f308eeac93c6cbf6cf25632e1cb1 /crypto/rand/rand_unix.c | |
parent | 47b11f985b9e0ff561a67e19674de6fbcf79281d (diff) | |
download | src-2c14c598c3061ac2533f997352aa06a2266f44d9.tar.gz src-2c14c598c3061ac2533f997352aa06a2266f44d9.zip |
Import OpenSSL 1.0.1u.vendor/openssl/1.0.1uvendor/openssl-1.0.1
Notes
Notes:
svn path=/vendor-crypto/openssl/dist-1.0.1/; revision=306191
svn path=/vendor-crypto/openssl/1.0.1u/; revision=306192; tag=vendor/openssl/1.0.1u
Diffstat (limited to 'crypto/rand/rand_unix.c')
-rw-r--r-- | crypto/rand/rand_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/rand_unix.c b/crypto/rand/rand_unix.c index 266111edda8c..6c5b65da0070 100644 --- a/crypto/rand/rand_unix.c +++ b/crypto/rand/rand_unix.c @@ -235,7 +235,7 @@ int RAND_poll(void) rnd >>= 8; } RAND_add(buf, sizeof(buf), ENTROPY_NEEDED); - memset(buf, 0, sizeof(buf)); + OPENSSL_cleanse(buf, sizeof(buf)); return 1; } |