Deleted Added
sdiff udiff text old ( 127129 ) new ( 215697 )
full compact
1/* apps/pkcs7.c */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved.
4 *
5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL.
8 *

--- 68 unchanged lines hidden (view full) ---

77 * -out arg - output file - default stdout
78 * -print_certs
79 */
80
81int MAIN(int, char **);
82
83int MAIN(int argc, char **argv)
84 {
85 PKCS7 *p7=NULL;
86 int i,badops=0;
87 BIO *in=NULL,*out=NULL;
88 int informat,outformat;
89 char *infile,*outfile,*prog;
90 int print_certs=0,text=0,noout=0;
91 int ret=1;
92#ifndef OPENSSL_NO_ENGINE

--- 79 unchanged lines hidden (view full) ---

172#endif
173 ret = 1;
174 goto end;
175 }
176
177 ERR_load_crypto_strings();
178
179#ifndef OPENSSL_NO_ENGINE
180 setup_engine(bio_err, engine, 0);
181#endif
182
183 in=BIO_new(BIO_s_file());
184 out=BIO_new(BIO_s_file());
185 if ((in == NULL) || (out == NULL))
186 {
187 ERR_print_errors(bio_err);
188 goto end;

--- 127 unchanged lines hidden ---