libtasn1-commit
[Top][All Lists]
Advanced

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

[SCM] GNU libtasn1 branch, libtasn1_2_x, updated. libtasn1_2_13-16-g9c43


From: Simon Josefsson
Subject: [SCM] GNU libtasn1 branch, libtasn1_2_x, updated. libtasn1_2_13-16-g9c43f26
Date: Wed, 19 Sep 2012 11:55:03 +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=9c43f26f378b7d89cc4b0e9f7cd11587f3721eaa

The branch, libtasn1_2_x has been updated
       via  9c43f26f378b7d89cc4b0e9f7cd11587f3721eaa (commit)
       via  391e47d2da5a118333b93f9e430af97d82acc4bc (commit)
       via  f642c3dc09ed4916b3241874f0fc04780a65c99a (commit)
       via  f2f70e88b26b64fd5ba92fb6ee36c4dc12f5a2f2 (commit)
       via  fcd8e2fda4de6550f3c31e6794ef916f36f966ea (commit)
       via  fc38ad1ae5f7e2f3020c465696d2d64c775d7768 (commit)
       via  9a6b01014133e4fcfa80188f6bd38194c98cc792 (commit)
      from  aad5b936d1c336d2fefa0698d6838b1cfd8fae55 (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 9c43f26f378b7d89cc4b0e9f7cd11587f3721eaa
Author: Simon Josefsson <address@hidden>
Date:   Wed Sep 19 13:53:38 2012 +0200

    Bump copyright year.

commit 391e47d2da5a118333b93f9e430af97d82acc4bc
Author: Simon Josefsson <address@hidden>
Date:   Wed Sep 19 13:52:52 2012 +0200

    Generated.

commit f642c3dc09ed4916b3241874f0fc04780a65c99a
Author: Simon Josefsson <address@hidden>
Date:   Wed Sep 19 13:51:51 2012 +0200

    Doc fix.

commit f2f70e88b26b64fd5ba92fb6ee36c4dc12f5a2f2
Author: Simon Josefsson <address@hidden>
Date:   Wed Sep 19 13:51:25 2012 +0200

    Add Since: marker to asn1_read_node_value.

commit fcd8e2fda4de6550f3c31e6794ef916f36f966ea
Author: Simon Josefsson <address@hidden>
Date:   Wed Sep 19 13:49:32 2012 +0200

    Fix namespace of newly added struct.

commit fc38ad1ae5f7e2f3020c465696d2d64c775d7768
Author: Simon Josefsson <address@hidden>
Date:   Wed Sep 19 13:49:19 2012 +0200

    Bump because of new API.

commit 9a6b01014133e4fcfa80188f6bd38194c98cc792
Author: Simon Josefsson <address@hidden>
Date:   Wed Sep 19 13:49:11 2012 +0200

    Fix.

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

Summary of changes:
 NEWS            |    4 +++-
 configure.ac    |    6 +++---
 doc/Makefile.am |    4 +++-
 lib/element.c   |    4 +++-
 lib/libtasn1.h  |    6 +++---
 5 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/NEWS b/NEWS
index 8a346ef..fc3dd95 100644
--- a/NEWS
+++ b/NEWS
@@ -2,7 +2,9 @@ GNU Libtasn1 NEWS                                     -*- 
outline -*-
 
 * Noteworthy changes in release 2.14 (unreleased) [stable]
 - Added asn1_read_node_value() to obtain a node's value.
-  This is to deprecate the export of the node_asn internal structure.
+  This is to deprecate the export of the node_asn internal structure
+  for the upcoming 3.x release.  The ASN1_DATA_NODE type and the
+  ASN1_ETYPE_* constants were added to support the new function.
 
 * Noteworthy changes in release 2.13 (2012-05-31) [stable]
 - Updated fix for DER decoding issue to not depend on specific compilers.
diff --git a/configure.ac b/configure.ac
index 3e5ddd0..69eb13b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,9 +28,9 @@ AM_SILENT_RULES([yes])
 # Interfaces changed/added/removed:   CURRENT++       REVISION=0
 # Interfaces added:                             AGE++
 # Interfaces removed:                           AGE=0
-AC_SUBST(LT_CURRENT, 4)
-AC_SUBST(LT_REVISION, 17)
-AC_SUBST(LT_AGE, 1)
+AC_SUBST(LT_CURRENT, 5)
+AC_SUBST(LT_REVISION, 0)
+AC_SUBST(LT_AGE, 2)
 
 AC_PROG_CC
 gl_EARLY
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 90c7ae1..db149ad 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -73,6 +73,7 @@ gdoc_MANS += man/asn1_der_coding.3
 gdoc_MANS += man/asn1_write_value.3
 gdoc_MANS += man/asn1_read_value.3
 gdoc_MANS += man/asn1_read_tag.3
+gdoc_MANS += man/asn1_read_node_value.3
 gdoc_MANS += man/asn1_array2tree.3
 gdoc_MANS += man/asn1_delete_structure.3
 gdoc_MANS += man/asn1_delete_element.3
@@ -116,6 +117,7 @@ gdoc_TEXINFOS += texi/asn1_der_coding.texi
 gdoc_TEXINFOS += texi/asn1_write_value.texi
 gdoc_TEXINFOS += texi/asn1_read_value.texi
 gdoc_TEXINFOS += texi/asn1_read_tag.texi
+gdoc_TEXINFOS += texi/asn1_read_node_value.texi
 gdoc_TEXINFOS += texi/asn1_array2tree.texi
 gdoc_TEXINFOS += texi/asn1_delete_structure.texi
 gdoc_TEXINFOS += texi/asn1_delete_element.texi
@@ -167,7 +169,7 @@ doit:
                        -sourceversion $(VERSION) \
                        -include libtasn1.h \
                        -seeinfo $(PACKAGE) -verbatimcopying \
-                       -copyright "2006-2011 Free Software Foundation, Inc." \
+                       -copyright "2006-2012 Free Software Foundation, Inc." \
                        -function $$i \
                        $(GDOC_SRC) > man/$$i.3 && \
                $(srcdir)/gdoc -texinfo -function $$i \
diff --git a/lib/element.c b/lib/element.c
index 8e8807b..8619a17 100644
--- a/lib/element.c
+++ b/lib/element.c
@@ -980,12 +980,14 @@ asn1_read_tag (ASN1_TYPE root, const char *name, int 
*tagValue,
 /**
  * asn1_read_node_value:
  * @node: pointer to a node.
- * @data: a point to a node_data_struct
+ * @data: a pointer to an asn1_data_node struct.
  *
  * Returns the value a data node inside a ASN1_TYPE structure.
  * The data returned should be handled as constant values.
  *
  * Returns: %ASN1_SUCCESS if the node exists.
+ *
+ * Since: 2.14
  **/
 asn1_retCode asn1_read_node_value (ASN1_TYPE node, ASN1_DATA_NODE* data)
 {
diff --git a/lib/libtasn1.h b/lib/libtasn1.h
index e9337e2..284a8e0 100644
--- a/lib/libtasn1.h
+++ b/lib/libtasn1.h
@@ -141,7 +141,7 @@ extern "C"
   };
   typedef struct static_struct_asn ASN1_ARRAY_TYPE;
 
-/* List of constants for field type of typedef node_asn  */
+/* List of constants for field "type" of ASN1_DATA_NODE. */
 #define ASN1_ETYPE_CONSTANT       1
 #define ASN1_ETYPE_IDENTIFIER     2
 #define ASN1_ETYPE_INTEGER        3
@@ -165,14 +165,14 @@ extern "C"
 #define ASN1_ETYPE_ENUMERATED    21
 #define ASN1_ETYPE_GENERALSTRING 27
 
-  struct node_data_struct
+  struct asn1_data_node
   {
     const char *name;          /* Node name */
     const void *value;         /* Node value */
     unsigned int value_len;     /* Node value size */
     unsigned int type;         /* Node value type (ASN1_ETYPE_*) */
   };
-  typedef struct node_data_struct ASN1_DATA_NODE;
+  typedef struct asn1_data_node ASN1_DATA_NODE;
 
   /***********************************/
   /*  Fixed constants                */


hooks/post-receive
-- 
GNU libtasn1



reply via email to

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