summaryrefslogtreecommitdiff
path: root/fuzz
diff options
context:
space:
mode:
authorPauli <ppzgs1@gmail.com>2021-02-24 09:24:29 +1000
committerPauli <ppzgs1@gmail.com>2021-02-26 18:09:04 +1000
commitdb7fbd54cf0636e25d4f8b8fddd829741064b831 (patch)
tree0b03fcee1a8a53a2d6e5a0b3a051095bdee98f9a /fuzz
parent2e36321aec5579610da77d43ac27eb8732676654 (diff)
downloadopenssl-new-db7fbd54cf0636e25d4f8b8fddd829741064b831.tar.gz
fuzzer: add ctx gettable/settable to the fuzzer RNG
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14240)
Diffstat (limited to 'fuzz')
-rw-r--r--fuzz/fuzz_rand.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fuzz/fuzz_rand.c b/fuzz/fuzz_rand.c
index 99c32509c6..cd5371efbd 100644
--- a/fuzz/fuzz_rand.c
+++ b/fuzz/fuzz_rand.c
@@ -91,7 +91,8 @@ static int fuzz_rand_get_ctx_params(void *vrng, OSSL_PARAM params[])
return 1;
}
-static const OSSL_PARAM *fuzz_rand_gettable_ctx_params(ossl_unused void *provctx)
+static const OSSL_PARAM *fuzz_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),