drbg: add fork id to additional data on UNIX systems
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Thu, 30 May 2019 16:52:39 +0000 (18:52 +0200)
committerMatt Caswell <matt@openssl.org>
Mon, 9 Sep 2019 16:09:06 +0000 (17:09 +0100)
commit5520695c733f7e6577a8b06e5ed3e34aa48df19a
tree5a87559fa9905c727dfa0a6f43521ea1e01a909a
parent1b0fe00e2704b5e20334a16d3c9099d1ba2ef1be
drbg: add fork id to additional data on UNIX systems

Provides a little extra fork-safety on UNIX systems, adding to the
fact that all DRBGs reseed automatically when the fork_id changes.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9802)
crypto/rand/rand_unix.c