Make sure that the 'config' variable is correctly defined and declared for monolithic as well as non-monolithic biuld. More work is probably needed in this area. PR: 144
diff --git a/apps/apps.h b/apps/apps.h index 32a7960..dae52bd 100644 --- a/apps/apps.h +++ b/apps/apps.h
@@ -144,8 +144,10 @@ #define MAIN(a,v) main(a,v) #ifndef NON_MAIN +CONF *config=NULL; BIO *bio_err=NULL; #else +extern CONF *config; extern BIO *bio_err; #endif
diff --git a/apps/openssl.c b/apps/openssl.c index 1c4a429..d093715 100644 --- a/apps/openssl.c +++ b/apps/openssl.c
@@ -139,11 +139,11 @@ static int MS_CALLBACK cmp(const void *a_void,const void *b_void); static LHASH *prog_init(void ); static int do_cmd(LHASH *prog,int argc,char *argv[]); -CONF *config=NULL; char *default_config_file=NULL; /* Make sure there is only one when MONOLITH is defined */ #ifdef MONOLITH +CONF *config=NULL; BIO *bio_err=NULL; #endif