summaryrefslogtreecommitdiffstats
path: root/apps/pkcs7.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2004-03-05 23:46:29 +0000
committerDr. Stephen Henson <steve@openssl.org>2004-03-05 23:46:29 +0000
commit3f39976da3124dde862eada02af948b1d8567933 (patch)
tree1dc07c075a4983ff4c68e7d5f1a4c0b19ceb2c1b /apps/pkcs7.c
parent216ad9ef58853e30b005446d26326a99bfb2fea5 (diff)
Call autoconfig code in pkcs7 utility.
Diffstat (limited to 'apps/pkcs7.c')
-rw-r--r--apps/pkcs7.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/pkcs7.c b/apps/pkcs7.c
index 6c58c67eb2..da4dbe7a07 100644
--- a/apps/pkcs7.c
+++ b/apps/pkcs7.c
@@ -102,6 +102,9 @@ int MAIN(int argc, char **argv)
if ((bio_err=BIO_new(BIO_s_file())) != NULL)
BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT);
+ if (!load_config(bio_err, NULL))
+ goto end;
+
infile=NULL;
outfile=NULL;
informat=FORMAT_PEM;