diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/rand/rand.h | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/src/lib/libcrypto/rand/rand.h b/src/lib/libcrypto/rand/rand.h index 2973ee90e4..eb9c8c034d 100644 --- a/src/lib/libcrypto/rand/rand.h +++ b/src/lib/libcrypto/rand/rand.h | |||
| @@ -77,7 +77,9 @@ typedef struct rand_meth_st | |||
| 77 | extern int rand_predictable; | 77 | extern int rand_predictable; |
| 78 | #endif | 78 | #endif |
| 79 | 79 | ||
| 80 | void RAND_set_rand_method(RAND_METHOD *meth); | 80 | struct engine_st; |
| 81 | |||
| 82 | int RAND_set_rand_method(struct engine_st *meth); | ||
| 81 | RAND_METHOD *RAND_get_rand_method(void ); | 83 | RAND_METHOD *RAND_get_rand_method(void ); |
| 82 | RAND_METHOD *RAND_SSLeay(void); | 84 | RAND_METHOD *RAND_SSLeay(void); |
| 83 | void RAND_cleanup(void ); | 85 | void RAND_cleanup(void ); |
| @@ -90,12 +92,28 @@ int RAND_write_file(const char *file); | |||
| 90 | const char *RAND_file_name(char *file,int num); | 92 | const char *RAND_file_name(char *file,int num); |
| 91 | int RAND_status(void); | 93 | int RAND_status(void); |
| 92 | int RAND_egd(const char *path); | 94 | int RAND_egd(const char *path); |
| 95 | int RAND_egd_bytes(const char *path,int bytes); | ||
| 96 | void ERR_load_RAND_strings(void); | ||
| 97 | int RAND_poll(void); | ||
| 98 | |||
| 99 | #ifdef __cplusplus | ||
| 100 | } | ||
| 101 | #endif | ||
| 102 | |||
| 93 | #if defined(WINDOWS) || defined(WIN32) | 103 | #if defined(WINDOWS) || defined(WIN32) |
| 94 | #include <windows.h> | 104 | #include <windows.h> |
| 105 | |||
| 106 | #ifdef __cplusplus | ||
| 107 | extern "C" { | ||
| 108 | #endif | ||
| 109 | |||
| 95 | void RAND_screen(void); | 110 | void RAND_screen(void); |
| 96 | int RAND_event(UINT, WPARAM, LPARAM); | 111 | int RAND_event(UINT, WPARAM, LPARAM); |
| 112 | |||
| 113 | #ifdef __cplusplus | ||
| 114 | } | ||
| 115 | #endif | ||
| 97 | #endif | 116 | #endif |
| 98 | void ERR_load_RAND_strings(void); | ||
| 99 | 117 | ||
| 100 | /* BEGIN ERROR CODES */ | 118 | /* BEGIN ERROR CODES */ |
| 101 | /* The following lines are auto generated by the script mkerr.pl. Any changes | 119 | /* The following lines are auto generated by the script mkerr.pl. Any changes |
| @@ -110,8 +128,5 @@ void ERR_load_RAND_strings(void); | |||
| 110 | /* Reason codes. */ | 128 | /* Reason codes. */ |
| 111 | #define RAND_R_PRNG_NOT_SEEDED 100 | 129 | #define RAND_R_PRNG_NOT_SEEDED 100 |
| 112 | 130 | ||
| 113 | #ifdef __cplusplus | ||
| 114 | } | ||
| 115 | #endif | ||
| 116 | #endif | 131 | #endif |
| 117 | 132 | ||
