summaryrefslogtreecommitdiff
path: root/crypto/rand
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-11-16 12:04:56 +1000
committerPauli <paul.dale@oracle.com>2020-11-19 07:39:12 +1000
commit1dc188ba0e7bd00e206d0190b2128e96287838df (patch)
tree728b864ab84eeea5b578015566a33cacf0414602 /crypto/rand
parent893d3df9728aedece5aa9fc6eef9db4f1a215c25 (diff)
downloadopenssl-new-1dc188ba0e7bd00e206d0190b2128e96287838df.tar.gz
Provide side RNG functions renamed to have an ossl_ prefix.
These are: prov_crngt_cleanup_entropy(), prov_crngt_get_entropy(), prov_pool_acquire_entropy(), prov_pool_add_nonce_data(), prov_rand_drbg_free() and prov_rand_drbg_new(). Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13417)
Diffstat (limited to 'crypto/rand')
-rw-r--r--crypto/rand/rand_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/rand_lib.c b/crypto/rand/rand_lib.c
index 211f4f3f51..9790b21646 100644
--- a/crypto/rand/rand_lib.c
+++ b/crypto/rand/rand_lib.c
@@ -125,7 +125,7 @@ int RAND_poll(void)
if (pool == NULL)
return 0;
- if (prov_pool_acquire_entropy(pool) == 0)
+ if (ossl_pool_acquire_entropy(pool) == 0)
goto err;
if (meth->add == NULL