aboutsummaryrefslogtreecommitdiff
path: root/crypto/rand/rand_meth.c
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2021-03-08 19:17:53 +1000
committerShane Lontis <shane.lontis@oracle.com>2021-03-18 17:52:37 +1000
commit1335ca4b0799d1714a2f8e21525cb23edf660e93 (patch)
tree721491aee8abff6f8e10761bc8a1f3edaf0a3eb7 /crypto/rand/rand_meth.c
parent9500c8234d8e99396717b9e43f10cc518e8bf668 (diff)
downloadopenssl-1335ca4b0799d1714a2f8e21525cb23edf660e93.zip
openssl-1335ca4b0799d1714a2f8e21525cb23edf660e93.tar.gz
openssl-1335ca4b0799d1714a2f8e21525cb23edf660e93.tar.bz2
Add ossl_rand symbols
Partial fix for #12964 Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14473)
Diffstat (limited to 'crypto/rand/rand_meth.c')
-rw-r--r--crypto/rand/rand_meth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/rand/rand_meth.c b/crypto/rand/rand_meth.c
index e9237a4..0f28094 100644
--- a/crypto/rand/rand_meth.c
+++ b/crypto/rand/rand_meth.c
@@ -50,7 +50,7 @@ static int drbg_bytes(unsigned char *out, int count)
return EVP_RAND_generate(drbg, out, count, 0, 0, NULL, 0);
}
-RAND_METHOD rand_meth = {
+RAND_METHOD ossl_rand_meth = {
drbg_seed,
drbg_bytes,
NULL,
@@ -62,7 +62,7 @@ RAND_METHOD rand_meth = {
RAND_METHOD *RAND_OpenSSL(void)
{
#ifndef FIPS_MODULE
- return &rand_meth;
+ return &ossl_rand_meth;
#else
return NULL;
#endif