From: Pauli Date: Tue, 23 Feb 2021 23:24:29 +0000 (+1000) Subject: fuzzer: add ctx gettable/settable to the fuzzer RNG X-Git-Tag: openssl-3.0.0-alpha13~155 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=db7fbd54cf0636e25d4f8b8fddd829741064b831;p=thirdparty%2Fopenssl.git fuzzer: add ctx gettable/settable to the fuzzer RNG Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/14240) --- diff --git a/fuzz/fuzz_rand.c b/fuzz/fuzz_rand.c index 99c32509c6b..cd5371efbde 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),