non-Monolith fixes.
Submitted by Andrew W. Gray <agray@iconsinc.com>
This commit is contained in:
parent
0cd8572b2d
commit
cfe1c195c4
@ -121,6 +121,7 @@
|
|||||||
#include <openssl/lhash.h>
|
#include <openssl/lhash.h>
|
||||||
#include <openssl/conf.h>
|
#include <openssl/conf.h>
|
||||||
#include <openssl/txt_db.h>
|
#include <openssl/txt_db.h>
|
||||||
|
#include <openssl/engine.h>
|
||||||
#include <openssl/ossl_typ.h>
|
#include <openssl/ossl_typ.h>
|
||||||
|
|
||||||
int app_RAND_load_file(const char *file, BIO *bio_e, int dont_warn);
|
int app_RAND_load_file(const char *file, BIO *bio_e, int dont_warn);
|
||||||
|
@ -177,6 +177,7 @@ int MAIN(int argc, char **argv)
|
|||||||
unsigned long chtype = MBSTRING_ASC;
|
unsigned long chtype = MBSTRING_ASC;
|
||||||
#ifndef MONOLITH
|
#ifndef MONOLITH
|
||||||
MS_STATIC char config_name[256];
|
MS_STATIC char config_name[256];
|
||||||
|
long errline;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
req_conf = NULL;
|
req_conf = NULL;
|
||||||
@ -472,7 +473,7 @@ bad:
|
|||||||
}
|
}
|
||||||
default_config_file=p;
|
default_config_file=p;
|
||||||
config=NCONF_new(NULL);
|
config=NCONF_new(NULL);
|
||||||
i=NCONF_load(config, p);
|
i=NCONF_load(config, p, &errline);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (template != NULL)
|
if (template != NULL)
|
||||||
|
@ -111,7 +111,7 @@
|
|||||||
|
|
||||||
#define _XOPEN_SOURCE 600 /* Or gethostname won't be declared properly
|
#define _XOPEN_SOURCE 600 /* Or gethostname won't be declared properly
|
||||||
on Linux and GNU platforms. */
|
on Linux and GNU platforms. */
|
||||||
#define _XOPEN_SOURCE_EXTENDED /* Or gethostname won't be declared properly
|
#define _XOPEN_SOURCE_EXTENDED 1 /* Or gethostname won't be declared properly
|
||||||
on Compaq platforms (at least with DEC C).
|
on Compaq platforms (at least with DEC C).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user