Remove the RAND_get0_public() from fips provider initialization
authorTomas Mraz <tomas@openssl.org>
Thu, 11 Mar 2021 19:04:06 +0000 (20:04 +0100)
committerTomas Mraz <tomas@openssl.org>
Fri, 12 Mar 2021 14:13:00 +0000 (15:13 +0100)
commit061ae2f6a2f6c59eae6fd5cbc501f916a49f48b2
tree82ad2b24dfef6851104f6f71392664bbb8fd061f
parent12b4e5821d59b5d0c35f830e078d842583be6486
Remove the RAND_get0_public() from fips provider initialization

It is not needed anymore and it causes leaks because
it is called when the FIPS provider libctx is not yet
properly set up.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14497)
providers/fips/fipsprov.c