diff options
author | Pauli <paul.dale@oracle.com> | 2020-11-04 13:05:46 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-11-20 08:24:21 +1000 |
commit | 15f54941bd4c0324f1c8d7773db56004183a9cb7 (patch) | |
tree | 95c43041ff818eed9dcab78aadbbdebb227bc590 /providers | |
parent | 1f50630af8fd7a260a88f0473c9de1b2f01d4945 (diff) |
test RNG: set state to uninitialised as part of uninstantiate call.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/13226)
Diffstat (limited to 'providers')
-rw-r--r-- | providers/implementations/rands/test_rng.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/providers/implementations/rands/test_rng.c b/providers/implementations/rands/test_rng.c index 3f3ab236f9..33cbd20e9b 100644 --- a/providers/implementations/rands/test_rng.c +++ b/providers/implementations/rands/test_rng.c @@ -96,6 +96,7 @@ static int test_rng_uninstantiate(void *vtest) PROV_TEST_RNG *t = (PROV_TEST_RNG *)vtest; t->entropy_pos = 0; + t->state = EVP_RAND_STATE_UNINITIALISED; return 1; } |