From 296f54ee211edbf8d21479091b4c20a9ee7698ad Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 29 May 2015 08:07:10 +0200 Subject: 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 --- apps/pkcs12.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/pkcs12.c') diff --git a/apps/pkcs12.c b/apps/pkcs12.c index 367ba87754..82131e8527 100644 --- a/apps/pkcs12.c +++ b/apps/pkcs12.c @@ -342,6 +342,9 @@ int pkcs12_main(int argc, char **argv) mpass = macpass; } + if (!app_load_modules(NULL)) + goto end; + if (export_cert || inrand) { app_RAND_load_file(NULL, (inrand != NULL)); if (inrand != NULL) -- cgit v1.2.3