non-Monolith fixes.
Submitted by Andrew W. Gray <agray@iconsinc.com>
diff --git a/apps/apps.h b/apps/apps.h
index aad2862..24aa447 100644
--- a/apps/apps.h
+++ b/apps/apps.h
@@ -121,6 +121,7 @@
#include <openssl/lhash.h>
#include <openssl/conf.h>
#include <openssl/txt_db.h>
+#include <openssl/engine.h>
#include <openssl/ossl_typ.h>
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 a6daf62..ba2167a 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -181,6 +181,7 @@
unsigned long chtype = MBSTRING_ASC;
#ifndef MONOLITH
MS_STATIC char config_name[256];
+ long errline;
#endif
req_conf = NULL;
@@ -529,7 +530,7 @@
}
default_config_file=p;
config=NCONF_new(NULL);
- i=NCONF_load(config, p);
+ i=NCONF_load(config, p, &errline);
#endif
if (template != NULL)