summaryrefslogtreecommitdiffstats
path: root/fuzz
diff options
context:
space:
mode:
authorPauli <ppzgs1@gmail.com>2021-02-26 01:55:40 +0100
committerPauli <ppzgs1@gmail.com>2021-02-28 08:25:49 +0100
commitb98d550d807eccde3bd3f88f9831e002d3835cc3 (patch)
tree9cb7db1c711d61d26bb019bba7b5ebbbc91d017e /fuzz
parentfips: update DRBG KATs for the extra instantiate argument (diff)
downloadopenssl-b98d550d807eccde3bd3f88f9831e002d3835cc3.tar.xz
openssl-b98d550d807eccde3bd3f88f9831e002d3835cc3.zip
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;