diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-03-11 20:04:06 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-03-12 15:13:00 +0100 |
commit | 061ae2f6a2f6c59eae6fd5cbc501f916a49f48b2 (patch) | |
tree | 82ad2b24dfef6851104f6f71392664bbb8fd061f /providers | |
parent | 12b4e5821d59b5d0c35f830e078d842583be6486 (diff) |
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)
Diffstat (limited to 'providers')
-rw-r--r-- | providers/fips/fipsprov.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/providers/fips/fipsprov.c b/providers/fips/fipsprov.c index 90491b0e5f..70826181e5 100644 --- a/providers/fips/fipsprov.c +++ b/providers/fips/fipsprov.c @@ -632,9 +632,6 @@ int OSSL_provider_init(const OSSL_CORE_HANDLE *handle, goto err; } - /* TODO(3.0): Tests will hang if this is removed */ - (void)RAND_get0_public(libctx); - *out = fips_dispatch_table; return 1; err: |