diff options
author | beck <> | 2000-04-15 06:18:51 +0000 |
---|---|---|
committer | beck <> | 2000-04-15 06:18:51 +0000 |
commit | b608c7f2b175e121f2c22d53341a317153afdc8e (patch) | |
tree | e94b160b3fcd8180df79e4251d68d24d665f0195 /src/lib/libcrypto/rand/rand.h | |
parent | c8d6701c396cebdcd0d45eac73b762e9498f6b01 (diff) | |
download | openbsd-b608c7f2b175e121f2c22d53341a317153afdc8e.tar.gz openbsd-b608c7f2b175e121f2c22d53341a317153afdc8e.tar.bz2 openbsd-b608c7f2b175e121f2c22d53341a317153afdc8e.zip |
OpenSSL 0.9.5a merge
Diffstat (limited to 'src/lib/libcrypto/rand/rand.h')
-rw-r--r-- | src/lib/libcrypto/rand/rand.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rand/rand.h b/src/lib/libcrypto/rand/rand.h index 28f45ec052..2973ee90e4 100644 --- a/src/lib/libcrypto/rand/rand.h +++ b/src/lib/libcrypto/rand/rand.h | |||
@@ -70,8 +70,13 @@ typedef struct rand_meth_st | |||
70 | void (*cleanup)(void); | 70 | void (*cleanup)(void); |
71 | void (*add)(const void *buf, int num, double entropy); | 71 | void (*add)(const void *buf, int num, double entropy); |
72 | int (*pseudorand)(unsigned char *buf, int num); | 72 | int (*pseudorand)(unsigned char *buf, int num); |
73 | int (*status)(void); | ||
73 | } RAND_METHOD; | 74 | } RAND_METHOD; |
74 | 75 | ||
76 | #ifdef BN_DEBUG | ||
77 | extern int rand_predictable; | ||
78 | #endif | ||
79 | |||
75 | void RAND_set_rand_method(RAND_METHOD *meth); | 80 | void RAND_set_rand_method(RAND_METHOD *meth); |
76 | RAND_METHOD *RAND_get_rand_method(void ); | 81 | RAND_METHOD *RAND_get_rand_method(void ); |
77 | RAND_METHOD *RAND_SSLeay(void); | 82 | RAND_METHOD *RAND_SSLeay(void); |
@@ -85,8 +90,10 @@ int RAND_write_file(const char *file); | |||
85 | const char *RAND_file_name(char *file,int num); | 90 | const char *RAND_file_name(char *file,int num); |
86 | int RAND_status(void); | 91 | int RAND_status(void); |
87 | int RAND_egd(const char *path); | 92 | int RAND_egd(const char *path); |
88 | #ifdef WINDOWS | 93 | #if defined(WINDOWS) || defined(WIN32) |
94 | #include <windows.h> | ||
89 | void RAND_screen(void); | 95 | void RAND_screen(void); |
96 | int RAND_event(UINT, WPARAM, LPARAM); | ||
90 | #endif | 97 | #endif |
91 | void ERR_load_RAND_strings(void); | 98 | void ERR_load_RAND_strings(void); |
92 | 99 | ||