diff options
author | Geoff Thorpe <geoff@openssl.org> | 2001-04-30 17:24:41 +0200 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2001-04-30 17:24:41 +0200 |
commit | 7ae551fd03b447e41d3a74e803a711350383ebc4 (patch) | |
tree | f0052965089d923ade8bb8bd45fe8afd28d5b466 /crypto/rand/rand.h | |
parent | Win32 fixes: (diff) | |
download | openssl-7ae551fd03b447e41d3a74e803a711350383ebc4.tar.xz openssl-7ae551fd03b447e41d3a74e803a711350383ebc4.zip |
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.h')
-rw-r--r-- | crypto/rand/rand.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/rand/rand.h b/crypto/rand/rand.h index 2252186ecd..0bfccac18f 100644 --- a/crypto/rand/rand.h +++ b/crypto/rand/rand.h @@ -96,7 +96,6 @@ int RAND_status(void); int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes); int RAND_egd(const char *path); int RAND_egd_bytes(const char *path,int bytes); -void ERR_load_RAND_strings(void); int RAND_poll(void); #if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_WIN32) @@ -110,10 +109,12 @@ int RAND_event(UINT, WPARAM, LPARAM); /* The following lines are auto generated by the script mkerr.pl. Any changes * made after this point may be overwritten when the script is next run. */ +void ERR_load_RAND_strings(void); /* Error codes for the RAND functions. */ /* Function codes. */ +#define RAND_F_RAND_GET_RAND_METHOD 101 #define RAND_F_SSLEAY_RAND_BYTES 100 /* Reason codes. */ @@ -123,4 +124,3 @@ int RAND_event(UINT, WPARAM, LPARAM); } #endif #endif - |