From: Pauli Date: Fri, 30 Oct 2020 05:53:47 +0000 (+1000) Subject: test: changes resulting from moving the entropy source out of the FIPS provider X-Git-Tag: openssl-3.0.0-alpha9~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d4460d27ea2fef46f02fa94a60717e9d168ed96;p=thirdparty%2Fopenssl.git test: changes resulting from moving the entropy source out of the FIPS provider Reviewed-by: Matt Caswell Reviewed-by: Matthias St. Pierre (Merged from https://github.com/openssl/openssl/pull/13226) --- diff --git a/test/evp_extra_test.c b/test/evp_extra_test.c index e2f78f14965..a52b472ba61 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))