diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | doc/libtasn1.texi | 1 | ||||
-rw-r--r-- | src/asn1Decoding.c | 6 |
3 files changed, 1 insertions, 7 deletions
@@ -3,6 +3,7 @@ GNU Libtasn1 NEWS -*- outline -*- * Noteworthy changes in release 2.10 (????-??-??) [stable] - build: Update gnulib files. - asn1Coding: actually implement the -c parameter. +- asn1Decoding: the -c parameter serves no purpose, remove it. * Noteworthy changes in release 2.9 (2010-12-06) [stable] - tests: Link to gnulib to avoid build error related to 'rpl_ftello' on Solaris. diff --git a/doc/libtasn1.texi b/doc/libtasn1.texi index 9e5e1f0..3099b0f 100644 --- a/doc/libtasn1.texi +++ b/doc/libtasn1.texi @@ -335,7 +335,6 @@ Usage: asn1Decoding [options] file1 file2 type Options: -h : shows the help message. -v : shows version information and exit. - -c : checks the syntax only. -o file : output file. @end verbatim 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", |