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)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Wed, 11 Sep 2019 09:22:18 +0000 (11:22 +0200)
commit5562dbb39cbf9db41dad9b8d3ae643262e458c63
treeec3cc7ef1b46aa11724b4c9945d6206a221b0d07
parent849529257c9979c7ca0d28e8b80a47bc4a36d4f2
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/9832)
crypto/rand/rand_unix.c