Avoid two memory allocations in each RAND_DRBG_bytes
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Sat, 27 Oct 2018 09:31:21 +0000 (11:31 +0200)
committerPauli <paul.dale@oracle.com>
Wed, 31 Oct 2018 23:02:12 +0000 (09:02 +1000)
commit54f3e855d48d08e9623a7ced715e263352c95274
treed074f87192a16ffecc040d998f59a95ef0541aa9
parentb6e660754c2e799cffe4906269fcace0e07c73bc
Avoid two memory allocations in each RAND_DRBG_bytes

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/7507)
crypto/include/internal/rand_int.h
crypto/rand/drbg_lib.c
crypto/rand/rand_lcl.h
crypto/rand/rand_lib.c