libtasn1-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU libtasn1 branch, master, updated. libtasn1_2_9-14-gec11057


From: Simon Josefsson
Subject: [SCM] GNU libtasn1 branch, master, updated. libtasn1_2_9-14-gec11057
Date: Tue, 25 Oct 2011 13:45:18 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU libtasn1".

http://git.savannah.gnu.org/cgit/libtasn1.git/commit/?id=ec110571ad58d2c6e36dd8015f069c6ff13c96cf

The branch, master has been updated
       via  ec110571ad58d2c6e36dd8015f069c6ff13c96cf (commit)
      from  6172ede34fb7c69727b5e3a828ecbf0b78fe3e4f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ec110571ad58d2c6e36dd8015f069c6ff13c96cf
Author: Simon Josefsson <address@hidden>
Date:   Tue Oct 25 15:45:11 2011 +0200

    asn1Decoding: Drop the useless -c parameter.

-----------------------------------------------------------------------

Summary of changes:
 NEWS               |    1 +
 doc/libtasn1.texi  |    1 -
 src/asn1Decoding.c |    6 ------
 3 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/NEWS b/NEWS
index 49f0c36..cd80580 100644
--- a/NEWS
+++ b/NEWS
@@ -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",


hooks/post-receive
-- 
GNU libtasn1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]