diff options
author | Pauli <ppzgs1@gmail.com> | 2021-02-24 00:24:26 +0100 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-02-26 09:08:41 +0100 |
commit | 2e36321aec5579610da77d43ac27eb8732676654 (patch) | |
tree | 21f7f716b8a714858f733df4d1bca0821f8614cd /test | |
parent | core: support modified gettable/settable ctx calls for ciphers (diff) | |
download | openssl-2e36321aec5579610da77d43ac27eb8732676654.tar.xz openssl-2e36321aec5579610da77d43ac27eb8732676654.zip |
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)
Diffstat (limited to 'test')
-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), |