From: Dr. Stephen Henson Date: Fri, 22 Feb 2002 21:21:18 +0000 (+0000) Subject: non-Monolith fixes. X-Git-Tag: OpenSSL-engine-0_9_6d~4^2~135 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=032c49b8b3bd732e1bfec6ac41cc3dad8663e503;p=openssl non-Monolith fixes. Submitted by Andrew W. Gray --- diff --git a/apps/apps.h b/apps/apps.h index aad2862123..24aa447117 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -121,6 +121,7 @@ #include #include #include +#include #include int app_RAND_load_file(const char *file, BIO *bio_e, int dont_warn); diff --git a/apps/req.c b/apps/req.c index a6daf6287e..ba2167aabd 100644 --- a/apps/req.c +++ b/apps/req.c @@ -181,6 +181,7 @@ int MAIN(int argc, char **argv) unsigned long chtype = MBSTRING_ASC; #ifndef MONOLITH MS_STATIC char config_name[256]; + long errline; #endif req_conf = NULL; @@ -529,7 +530,7 @@ bad: } default_config_file=p; config=NCONF_new(NULL); - i=NCONF_load(config, p); + i=NCONF_load(config, p, &errline); #endif if (template != NULL)