From 032c49b8b3bd732e1bfec6ac41cc3dad8663e503 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 22 Feb 2002 21:21:18 +0000 Subject: [PATCH] non-Monolith fixes. Submitted by Andrew W. Gray --- apps/apps.h | 1 + apps/req.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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) -- 2.25.1