rand: add a note about a potentially misleading code analyzer warning.
authorPauli <paul.dale@oracle.com>
Wed, 26 Aug 2020 13:56:55 +0000 (23:56 +1000)
committerPauli <paul.dale@oracle.com>
Thu, 27 Aug 2020 22:43:07 +0000 (08:43 +1000)
commitedd53e9135d9546e3611ca1d45876bac15047aa8
treedea11c7b04591b6a36f45a7f852ef17f15b8d720
parent1d6c86709c72442aff3bdde8ab48b048e6df153a
rand: add a note about a potentially misleading code analyzer warning.

When seeding from a parent DRBG, the pointer to the child is used as
additional data.  This triggers static code analysers.  Rearrange and
expand the comments to make this more obvious.

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/12724)
providers/implementations/rands/drbg.c