mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
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)
This commit is contained in:
parent
03bede0cc8
commit
0d4460d27e
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user