Rework and simplify resource flow in drbg_add
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 26 Oct 2018 19:06:14 +0000 (21:06 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 29 Oct 2018 11:31:21 +0000 (12:31 +0100)
commit6101850bafeb28fd5d752576037812c2672321e6
tree17bc1c87ffcac5f83146d0dd7346425138cdd234
parentc7a7ed3870e51a91379aaddad2da3be0aba1daf6
Rework and simplify resource flow in drbg_add

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7504)

(cherry picked from commit f9e43929c46b38667f67e02765fe0f1c0d3061d6)
crypto/rand/drbg_lib.c
crypto/rand/rand_lib.c