Call autoconfig code in pkcs7 utility.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 5 Mar 2004 23:45:08 +0000 (23:45 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 5 Mar 2004 23:45:08 +0000 (23:45 +0000)
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;