summaryrefslogtreecommitdiffstats
path: root/apps/crl2p7.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2015-05-29 08:07:10 +0200
committerRichard Levitte <levitte@openssl.org>2015-05-29 12:41:50 +0200
commit296f54ee211edbf8d21479091b4c20a9ee7698ad (patch)
tree4f746de806c85723368d65c4ab36d8e34974b214 /apps/crl2p7.c
parentFix double BIO_free in req (diff)
downloadopenssl-296f54ee211edbf8d21479091b4c20a9ee7698ad.tar.xz
openssl-296f54ee211edbf8d21479091b4c20a9ee7698ad.zip
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>
Diffstat (limited to 'apps/crl2p7.c')
-rw-r--r--apps/crl2p7.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/crl2p7.c b/apps/crl2p7.c
index f05ad4ae52..e4e39cfe38 100644
--- a/apps/crl2p7.c
+++ b/apps/crl2p7.c
@@ -148,6 +148,9 @@ int crl2pkcs7_main(int argc, char **argv)
argc = opt_num_rest();
argv = opt_rest();
+ if (!app_load_modules(NULL))
+ goto end;
+
if (!nocrl) {
in = bio_open_default(infile, RB(informat));
if (in == NULL)