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) | |
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;  } | 
