mirror of
https://github.com/openssl/openssl.git
synced 2025-02-23 14:42:15 +08:00
fake_random: Do not overwrite the callback on instatiation
Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14299)
This commit is contained in:
parent
0c84139c98
commit
8cdc3425af
@ -33,7 +33,6 @@ static OSSL_FUNC_rand_enable_locking_fn fake_rand_enable_locking;
|
||||
static void *fake_rand_newctx(void *provctx, void *parent,
|
||||
const OSSL_DISPATCH *parent_dispatch)
|
||||
{
|
||||
fake_rand.cb = NULL;
|
||||
fake_rand.state = EVP_RAND_STATE_UNINITIALISED;
|
||||
return &fake_rand;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user