Deleted Added
full compact
asn1pars.c (68651) asn1pars.c (100936)
1/* apps/asn1pars.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 *

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

176
177 if (badops)
178 {
179bad:
180 BIO_printf(bio_err,"%s [options] <infile\n",prog);
181 BIO_printf(bio_err,"where options are\n");
182 BIO_printf(bio_err," -inform arg input format - one of DER TXT PEM\n");
183 BIO_printf(bio_err," -in arg input file\n");
1/* apps/asn1pars.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 *

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

176
177 if (badops)
178 {
179bad:
180 BIO_printf(bio_err,"%s [options] <infile\n",prog);
181 BIO_printf(bio_err,"where options are\n");
182 BIO_printf(bio_err," -inform arg input format - one of DER TXT PEM\n");
183 BIO_printf(bio_err," -in arg input file\n");
184 BIO_printf(bio_err," -out arg output file\n");
184 BIO_printf(bio_err," -out arg output file (output format is always DER\n");
185 BIO_printf(bio_err," -noout arg don't produce any output\n");
186 BIO_printf(bio_err," -offset arg offset into file\n");
187 BIO_printf(bio_err," -length arg length of section in file\n");
188 BIO_printf(bio_err," -i indent entries\n");
189 BIO_printf(bio_err," -dump dump unknown data in hex form\n");
190 BIO_printf(bio_err," -dlimit arg dump the first arg bytes of unknown data in hex form\n");
191 BIO_printf(bio_err," -oid file file of extra oid definitions\n");
192 BIO_printf(bio_err," -strparse offset\n");
193 BIO_printf(bio_err," a series of these can be used to 'dig' into multiple\n");
194 BIO_printf(bio_err," ASN1 blob wrappings\n");
185 BIO_printf(bio_err," -noout arg don't produce any output\n");
186 BIO_printf(bio_err," -offset arg offset into file\n");
187 BIO_printf(bio_err," -length arg length of section in file\n");
188 BIO_printf(bio_err," -i indent entries\n");
189 BIO_printf(bio_err," -dump dump unknown data in hex form\n");
190 BIO_printf(bio_err," -dlimit arg dump the first arg bytes of unknown data in hex form\n");
191 BIO_printf(bio_err," -oid file file of extra oid definitions\n");
192 BIO_printf(bio_err," -strparse offset\n");
193 BIO_printf(bio_err," a series of these can be used to 'dig' into multiple\n");
194 BIO_printf(bio_err," ASN1 blob wrappings\n");
195 BIO_printf(bio_err," -out filename output DER encoding to file\n");
196 goto end;
197 }
198
199 ERR_load_crypto_strings();
200
201 in=BIO_new(BIO_s_file());
202 out=BIO_new(BIO_s_file());
203 if ((in == NULL) || (out == NULL))

--- 131 unchanged lines hidden ---
195 goto end;
196 }
197
198 ERR_load_crypto_strings();
199
200 in=BIO_new(BIO_s_file());
201 out=BIO_new(BIO_s_file());
202 if ((in == NULL) || (out == NULL))

--- 131 unchanged lines hidden ---