summaryrefslogtreecommitdiff
path: root/fuzz
diff options
context:
space:
mode:
authorPauli <ppzgs1@gmail.com>2021-02-26 10:55:40 +1000
committerPauli <ppzgs1@gmail.com>2021-02-28 17:25:49 +1000
commitb98d550d807eccde3bd3f88f9831e002d3835cc3 (patch)
tree9cb7db1c711d61d26bb019bba7b5ebbbc91d017e /fuzz
parent8d5b197b289988f8bc55e01e7ae27b82b16964b6 (diff)
downloadopenssl-new-b98d550d807eccde3bd3f88f9831e002d3835cc3.tar.gz
prov: update rand implementations to have a params argument for the instantiate call
Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/14310)
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 cd5371efbd..5bd343d8ae 100644
--- a/fuzz/fuzz_rand.c
+++ b/fuzz/fuzz_rand.c
@@ -41,7 +41,8 @@ static int fuzz_rand_instantiate(ossl_unused void *vrng,
ossl_unused unsigned int strength,
ossl_unused int prediction_resistance,
ossl_unused const unsigned char *pstr,
- ossl_unused size_t pstr_len)
+ ossl_unused size_t pstr_len,
+ ossl_unused const OSSL_PARAM params[])
{
*(int *)vrng = EVP_RAND_STATE_READY;
return 1;