Fix a race condition in drbg_add
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 29 Oct 2018 12:48:53 +0000 (13:48 +0100)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Tue, 30 Oct 2018 22:28:12 +0000 (23:28 +0100)
commitfaca6bfac3b0c5a657cd01dcf6cb306d61cebd0f
tree91e29976bea26ec14ff1fab2508715c1066bc991
parentde8848aeafd4210bcbbc6742b8947b37cb7ed8cb
Fix a race condition 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/7523)

(cherry picked from commit 4011bab1f85d4429bad1e9388bed90a8d0da5639)
crypto/rand/drbg_lib.c