summaryrefslogtreecommitdiffstats
path: root/crypto/rand/rand.h
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2000-02-28 21:16:06 +0100
committerUlf Möller <ulf@openssl.org>2000-02-28 21:16:06 +0100
commitc9e1fe33be9d9c60f832c22442cff45bf5a667a5 (patch)
tree95d44f6f6697910d0c4a68848afa4a8b0cc2d02d /crypto/rand/rand.h
parentSupport assembler for Mingw32. (diff)
downloadopenssl-c9e1fe33be9d9c60f832c22442cff45bf5a667a5.tar.xz
openssl-c9e1fe33be9d9c60f832c22442cff45bf5a667a5.zip
Fix for non-monolithic build.
Submitted by: Andrew Gray <agray@iconsinc.com>
Diffstat (limited to 'crypto/rand/rand.h')
-rw-r--r--crypto/rand/rand.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/crypto/rand/rand.h b/crypto/rand/rand.h
index 28f45ec052..f14a115225 100644
--- a/crypto/rand/rand.h
+++ b/crypto/rand/rand.h
@@ -72,6 +72,10 @@ typedef struct rand_meth_st
int (*pseudorand)(unsigned char *buf, int num);
} RAND_METHOD;
+#ifdef BN_DEBUG
+extern int rand_predictable;
+#endif
+
void RAND_set_rand_method(RAND_METHOD *meth);
RAND_METHOD *RAND_get_rand_method(void );
RAND_METHOD *RAND_SSLeay(void);
@@ -85,7 +89,7 @@ int RAND_write_file(const char *file);
const char *RAND_file_name(char *file,int num);
int RAND_status(void);
int RAND_egd(const char *path);
-#ifdef WINDOWS
+#if defined(WINDOWS) || defined(WIN32)
void RAND_screen(void);
#endif
void ERR_load_RAND_strings(void);