openssl/crypto/rand
Dr. Matthias St. Pierre 39571fcabf Fix memory leak in do_rand_drbg_init()
Fixes #5076

Since do_rand_drbg_init() allocates three locks, it needs to ensure
that OPENSSL_init_crypto() is called, otherwise these resources are
not cleaned up properly.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/5083)
2018-01-16 08:38:13 -06:00
..
build.info crypto/rand: rename drbg_rand.c to drbg_ctr.c 2018-01-04 11:47:30 +10:00
drbg_ctr.c Update copyright years on all files merged since Jan 1st 2018 2018-01-09 05:49:01 +01:00
drbg_lib.c Fix memory leak in do_rand_drbg_init() 2018-01-16 08:38:13 -06:00
rand_egd.c Switch from ossl_rand to DRBG rand 2017-08-03 09:23:28 -04:00
rand_err.c crypto/rand: restore the generic DRBG implementation 2018-01-04 11:47:31 +10:00
rand_lcl.h Update copyright years on all files merged since Jan 1st 2018 2018-01-09 05:49:01 +01:00
rand_lib.c Add master DRBG for reseeding 2017-12-17 23:12:10 +01:00
rand_unix.c Fix reseeding issues of the public RAND_DRBG 2017-10-18 08:39:20 -05:00
rand_vms.c Fix reseeding issues of the public RAND_DRBG 2017-10-18 08:39:20 -05:00
rand_win.c Fix reseeding issues of the public RAND_DRBG 2017-10-18 08:39:20 -05:00
randfile.c Resolve warnings in VC-WIN32 build, which allows to add /WX. 2017-11-13 10:58:57 +01:00