]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
fuzzer: add ctx gettable/settable to the fuzzer RNG
authorPauli <ppzgs1@gmail.com>
Tue, 23 Feb 2021 23:24:29 +0000 (09:24 +1000)
committerPauli <ppzgs1@gmail.com>
Fri, 26 Feb 2021 08:09:04 +0000 (18:09 +1000)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14240)

fuzz/fuzz_rand.c

index 99c32509c6ba97fb1a9dcd2463ddacf098674cb6..cd5371efbdefc780bd60476c4729bdc96575796d 100644 (file)
@@ -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),