diff options
author | Pauli <paul.dale@oracle.com> | 2020-10-30 15:53:22 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-11-20 08:24:21 +1000 |
commit | 03bede0cc8418e056d4ac551fbdc2283e0e9491f (patch) | |
tree | 116154c3e80bb806d6becadaefc35a8e1e7013b8 /crypto/evp/evp_rand.c | |
parent | 71febb399225ec5b0f85292fe9487d507fbafb7e (diff) |
rand: move 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 'crypto/evp/evp_rand.c')
-rw-r--r-- | crypto/evp/evp_rand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/evp_rand.c b/crypto/evp/evp_rand.c index 07d1ad9db2..6a4f57414c 100644 --- a/crypto/evp/evp_rand.c +++ b/crypto/evp/evp_rand.c @@ -511,7 +511,7 @@ static int evp_rand_generate_locked(EVP_RAND_CTX *ctx, unsigned char *out, size_t chunk, max_request = 0; OSSL_PARAM params[2] = { OSSL_PARAM_END, OSSL_PARAM_END }; - params[0] = OSSL_PARAM_construct_size_t(OSSL_DRBG_PARAM_MAX_REQUEST, + params[0] = OSSL_PARAM_construct_size_t(OSSL_RAND_PARAM_MAX_REQUEST, &max_request); if (!evp_rand_get_ctx_params_locked(ctx, params) || max_request == 0) { |