diff options
author | Pauli <ppzgs1@gmail.com> | 2021-02-24 09:24:26 +1000 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-02-26 18:08:41 +1000 |
commit | 2e36321aec5579610da77d43ac27eb8732676654 (patch) | |
tree | 21f7f716b8a714858f733df4d1bca0821f8614cd | |
parent | e79fb279dfc146af0948d2727656f72226ef104f (diff) | |
download | openssl-new-2e36321aec5579610da77d43ac27eb8732676654.tar.gz |
test: add ctx gettable/settable to the generic fake random number generator
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14240)
-rw-r--r-- | test/testutil/fake_random.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/testutil/fake_random.c b/test/testutil/fake_random.c index 7e18e72d45..9d9b10feb1 100644 --- a/test/testutil/fake_random.c +++ b/test/testutil/fake_random.c @@ -109,7 +109,8 @@ static int fake_rand_get_ctx_params(ossl_unused void *vrng, OSSL_PARAM params[]) return 1; } -static const OSSL_PARAM *fake_rand_gettable_ctx_params(void *vrng) +static const OSSL_PARAM *fake_rand_gettable_ctx_params(ossl_unused void *vrng, + ossl_unused void *provctx) { static const OSSL_PARAM known_gettable_ctx_params[] = { OSSL_PARAM_int(OSSL_RAND_PARAM_STATE, NULL), |