summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-10-30 15:53:47 +1000
committerPauli <paul.dale@oracle.com>2020-11-20 08:24:21 +1000
commit0d4460d27ea2fef46f02fa94a60717e9d168ed96 (patch)
tree5b45f7e81436acada99967fa25dac8170db8cbb4 /test
parent03bede0cc8418e056d4ac551fbdc2283e0e9491f (diff)
test: changes resulting from moving the entropy source out of the FIPS provider
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/13226)
Diffstat (limited to 'test')
-rw-r--r--test/evp_extra_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/evp_extra_test.c b/test/evp_extra_test.c
index e2f78f1496..a52b472ba6 100644
--- a/test/evp_extra_test.c
+++ b/test/evp_extra_test.c
@@ -1978,7 +1978,7 @@ static int test_rand_agglomeration(void)
memset(out, 0, sizeof(out));
*p++ = OSSL_PARAM_construct_octet_string(OSSL_RAND_PARAM_TEST_ENTROPY,
seed, sizeof(seed));
- *p++ = OSSL_PARAM_construct_uint(OSSL_DRBG_PARAM_MAX_REQUEST, &step);
+ *p++ = OSSL_PARAM_construct_uint(OSSL_RAND_PARAM_MAX_REQUEST, &step);
*p = OSSL_PARAM_construct_end();
res = TEST_true(EVP_RAND_set_ctx_params(ctx, params))
&& TEST_true(EVP_RAND_generate(ctx, out, sizeof(out), 0, 1, NULL, 0))