From db7fbd54cf0636e25d4f8b8fddd829741064b831 Mon Sep 17 00:00:00 2001 From: Pauli Date: Wed, 24 Feb 2021 09:24:29 +1000 Subject: fuzzer: add ctx gettable/settable to the fuzzer RNG Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/14240) --- fuzz/fuzz_rand.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fuzz') 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), -- cgit v1.2.3