Call autoconfig code in pkcs7 utility.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 5 Mar 2004 23:46:29 +0000 (23:46 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 5 Mar 2004 23:46:29 +0000 (23:46 +0000)
apps/pkcs7.c

index 6c58c67..da4dbe7 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;