diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2014-04-06 23:11:20 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2014-04-07 19:44:45 +0100 |
commit | f74fa33bcee6bc84f41442bdd256d838c2cb3c14 (patch) | |
tree | 3f9f5049e0715dd36fd3fa0369d1064d0236759a /NEWS | |
parent | 731f431497f463f3a2a97236fe0187b11c44aead (diff) | |
download | openssl-f74fa33bcee6bc84f41442bdd256d838c2cb3c14.tar.gz |
Return if ssleay_rand_add called with zero num.
Treat a zero length passed to ssleay_rand_add a no op: the existing logic
zeroes the md value which is very bad. OpenSSL itself never does this
internally and the actual call doesn't make sense as it would be passing
zero bytes of entropy.
Thanks to Marcus Meissner <meissner@suse.de> for reporting this bug.
(cherry picked from commit 5be1ae28ef3c4bdec95b94f14e0e939157be550a)
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions