test: changes resulting from moving the entropy source out of the FIPS provider
authorPauli <paul.dale@oracle.com>
Fri, 30 Oct 2020 05:53:47 +0000 (15:53 +1000)
committerPauli <paul.dale@oracle.com>
Thu, 19 Nov 2020 22:24:21 +0000 (08:24 +1000)
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)

test/evp_extra_test.c

index e2f78f1496560d1acfb9b1d559fa6c9d73bbcdb7..a52b472ba611cc984dea93f0b3aa039bb644f4ce 100644 (file)
@@ -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))