mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
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)
This commit is contained in:
parent
12b4e5821d
commit
061ae2f6a2
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user