openssl/crypto/rand
Dr. Stephen Henson f74fa33bce 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 5be1ae28ef)
2014-04-07 19:44:45 +01:00
..
.cvsignore Add emacs cache files to .cvsignore. 2005-04-11 14:17:07 +00:00
Makefile Version skew reduction: trivia (I hope). 2012-06-03 22:00:21 +00:00
md_rand.c Return if ssleay_rand_add called with zero num. 2014-04-07 19:44:45 +01:00
rand.h Extensive reorganisation of PRNG handling in FIPS module: all calls 2011-04-05 15:24:10 +00:00
rand_egd.c misspellings fixes by https://github.com/vlajos/misspell_fixer 2013-09-05 21:39:42 +01:00
rand_err.c Extensive reorganisation of PRNG handling in FIPS module: all calls 2011-04-05 15:24:10 +00:00
rand_lcl.h Use rdrand as additional entropy source. 2014-01-11 14:19:25 +00:00
rand_lib.c Use rdrand as additional entropy source. 2014-01-11 14:19:25 +00:00
rand_nw.c misspellings fixes by https://github.com/vlajos/misspell_fixer 2013-09-05 21:39:42 +01:00
rand_os2.c Merge from 1.0.0-stable branch. 2009-04-23 16:32:42 +00:00
rand_unix.c PR: 2563 2011-12-19 17:01:37 +00:00
rand_vms.c After some adjustments, apply the changes OpenSSL 1.0.0d on OpenVMS 2011-03-19 10:58:14 +00:00
rand_win.c Avoid Windows 8 Getversion deprecated errors. 2014-02-25 13:40:33 +00:00
randfile.c Fix OPNESSL vs. OPENSSL typos. 2012-01-15 13:39:10 +00:00
randtest.c Version skew reduction: trivia (I hope). 2012-06-03 22:00:21 +00:00