In RSA, DSA, DH, and RAND - if the "***_new()" function fails because the

ENGINE code does not return a default, set an error.
This commit is contained in:
Geoff Thorpe
2001-04-30 15:24:41 +00:00
parent c2e45f6ddf
commit 7ae551fd03
6 changed files with 10 additions and 2 deletions

View File

@@ -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}
};