Restore module loading

The module loading feature got broken a while ago, so restore it, but
have it a bit more explicit this time around.

Reviewed-by: Stephen Henson <steve@openssl.org>
This commit is contained in:
Richard Levitte
2015-05-29 08:07:10 +02:00
parent 2142519500
commit 296f54ee21
43 changed files with 186 additions and 14 deletions

View File

@@ -380,6 +380,9 @@ int req_main(int argc, char **argv)
if (verbose)
BIO_printf(bio_err, "Using configuration from %s\n", template);
req_conf = app_load_config(template);
if (!app_load_modules(req_conf))
goto end;
if (req_conf != NULL) {
p = NCONF_get_string(req_conf, NULL, "oid_file");
if (p == NULL)