Call autoconfig code in pkcs7 utility.
[openssl.git] / apps / pkcs7.c
index 6c58c67eb27927f146362d1c403b81b234fd6643..da4dbe7a07c0706a223784f2143495fd414a9f58 100644 (file)
@@ -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;