Skip to content
Commit 39571fca authored by Dr. Matthias St. Pierre's avatar Dr. Matthias St. Pierre Committed by Benjamin Kaduk
Browse files

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: default avatarMatt Caswell <matt@openssl.org>
Reviewed-by: default avatarBen Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/5083)
parent d17bdfc2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment