rand: add FIPS error state handling
authorPauli <paul.dale@oracle.com>
Mon, 7 Sep 2020 02:50:57 +0000 (12:50 +1000)
committerPauli <paul.dale@oracle.com>
Sat, 12 Sep 2020 06:46:20 +0000 (16:46 +1000)
commitaef30ad0b6811fd6ef1232ec67d24a77c17831ba
tree8ffa2f422b3c070e342251dcc54926f09141ff19
parent87fe138d35035617ed41a203eacbdec4395e3753
rand: add FIPS error state handling

Check for provider being runnable in instantiate, reseed, generate and new calls.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12801)
providers/implementations/rands/drbg.c