Fix for non-monolithic build.

Submitted by: Andrew Gray <agray@iconsinc.com>
This commit is contained in:
Ulf Möller 2000-02-28 20:16:06 +00:00
parent 2da0c11926
commit c9e1fe33be
2 changed files with 7 additions and 1 deletions

View file

@ -109,7 +109,9 @@
*
*/
#define NON_MAIN
#include "apps.h"
#undef NON_MAIN
#include <openssl/bio.h>
#include <openssl/rand.h>

View file

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