diff options
author | Simon Josefsson <simon@josefsson.org> | 2011-10-25 15:45:11 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2011-10-25 15:45:11 +0200 |
commit | ec110571ad58d2c6e36dd8015f069c6ff13c96cf (patch) | |
tree | 19b7ba2705523b76ea39af2cf36ebcb7966123e3 /src | |
parent | 6172ede34fb7c69727b5e3a828ecbf0b78fe3e4f (diff) | |
download | libtasn1-ec110571ad58d2c6e36dd8015f069c6ff13c96cf.tar.gz libtasn1-ec110571ad58d2c6e36dd8015f069c6ff13c96cf.tar.bz2 libtasn1-ec110571ad58d2c6e36dd8015f069c6ff13c96cf.zip |
asn1Decoding: Drop the useless -c parameter.
Diffstat (limited to 'src')
-rw-r--r-- | src/asn1Decoding.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/asn1Decoding.c b/src/asn1Decoding.c index f4d43d5..1799129 100644 --- a/src/asn1Decoding.c +++ b/src/asn1Decoding.c @@ -54,7 +54,6 @@ Decodes DER data in ENCODED file, for the ASN1TYPE element\n\ described in ASN.1 DEFINITIONS file, and print decoded structures.\n\ \n"); printf ("\ - -c, --check checks the syntax only\n\ -h, --help display this help and exit\n\ -v, --version output version information and exit\n"); emit_bug_reporting_address (); @@ -68,7 +67,6 @@ main (int argc, char *argv[]) static const struct option long_options[] = { {"help", no_argument, 0, 'h'}, {"version", no_argument, 0, 'v'}, - {"check", no_argument, 0, 'c'}, {0, 0, 0, 0} }; int option_index = 0; @@ -76,7 +74,6 @@ main (int argc, char *argv[]) char *inputFileAsnName = NULL; char *inputFileDerName = NULL; char *typeName = NULL; - int checkSyntaxOnly = 0; ASN1_TYPE definitions = ASN1_TYPE_EMPTY; ASN1_TYPE structure = ASN1_TYPE_EMPTY; char errorDescription[ASN1_MAX_ERROR_DESCRIPTION_SIZE]; @@ -108,9 +105,6 @@ main (int argc, char *argv[]) "Fabio Fiorina", NULL); exit (0); break; - case 'c': /* CHECK SYNTAX */ - checkSyntaxOnly = 1; - break; case '?': /* UNKNOW OPTION */ fprintf (stderr, "asn1Decoding: option '%s' not recognized or without argument.\n\n", |