summaryrefslogtreecommitdiffstats
path: root/crypto/rand/rand_err.c
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2001-04-30 15:24:41 +0000
committerGeoff Thorpe <geoff@openssl.org>2001-04-30 15:24:41 +0000
commit7ae551fd03b447e41d3a74e803a711350383ebc4 (patch)
treef0052965089d923ade8bb8bd45fe8afd28d5b466 /crypto/rand/rand_err.c
parentc2e45f6ddf9219735e85d9b658a94e42c37ec0a2 (diff)
In RSA, DSA, DH, and RAND - if the "***_new()" function fails because the
ENGINE code does not return a default, set an error.
Diffstat (limited to 'crypto/rand/rand_err.c')
-rw-r--r--crypto/rand/rand_err.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/rand/rand_err.c b/crypto/rand/rand_err.c
index 6ffa1c4f25..b77267e213 100644
--- a/crypto/rand/rand_err.c
+++ b/crypto/rand/rand_err.c
@@ -66,6 +66,7 @@
#ifndef OPENSSL_NO_ERR
static ERR_STRING_DATA RAND_str_functs[]=
{
+{ERR_PACK(0,RAND_F_RAND_GET_RAND_METHOD,0), "RAND_get_rand_method"},
{ERR_PACK(0,RAND_F_SSLEAY_RAND_BYTES,0), "SSLEAY_RAND_BYTES"},
{0,NULL}
};