Call RAND_DRBG_bytes from inside the FIPS provider
authorMatt Caswell <matt@openssl.org>
Tue, 28 May 2019 10:26:17 +0000 (11:26 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 28 Jun 2019 09:22:21 +0000 (10:22 +0100)
commit45c54042d02362f083143c09513e57317f983244
treec36b2e6282f00540cdad2ade8ae4aa540d45d485
parentf2d20f0bb8b79f37f785ca9eff5252188991dd8d
Call RAND_DRBG_bytes from inside the FIPS provider

Insert a dummy call to RAND_DRBG_bytes from inside the FIPS provider to
demonstrate that it is possible to use the RAND code from inside the
module. This is temporary and will be removed once real uses of the RAND
code are available inside the module.

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/9035)
providers/fips/fipsprov.c