non-Monolith fixes.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 22 Feb 2002 21:21:18 +0000 (21:21 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 22 Feb 2002 21:21:18 +0000 (21:21 +0000)
Submitted by Andrew W. Gray <agray@iconsinc.com>

apps/apps.h
apps/req.c

index aad2862..24aa447 100644 (file)
 #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);
index a6daf62..ba2167a 100644 (file)
@@ -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)