summaryrefslogtreecommitdiffstats
path: root/fuzz
diff options
context:
space:
mode:
authorPauli <ppzgs1@gmail.com>2021-02-24 00:24:29 +0100
committerPauli <ppzgs1@gmail.com>2021-02-26 09:09:04 +0100
commitdb7fbd54cf0636e25d4f8b8fddd829741064b831 (patch)
tree0b03fcee1a8a53a2d6e5a0b3a051095bdee98f9a /fuzz
parenttest: add ctx gettable/settable to the generic fake random number generator (diff)
downloadopenssl-db7fbd54cf0636e25d4f8b8fddd829741064b831.tar.xz
openssl-db7fbd54cf0636e25d4f8b8fddd829741064b831.zip
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),