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_3_6-22-g4de401d


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU libtasn1 branch, master, updated. libtasn1_3_6-22-g4de401d
Date: Thu, 05 Jun 2014 13:39:53 +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=4de401ddb42e290052b24560bcd877cafdf5dd9b

The branch, master has been updated
       via  4de401ddb42e290052b24560bcd877cafdf5dd9b (commit)
      from  0acd71a02e57f6cf5f6e105e8879a8622052ebe8 (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 4de401ddb42e290052b24560bcd877cafdf5dd9b
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Thu Jun 5 15:39:28 2014 +0200

    renamed asn1_copy_node2 to asn1_dup_node

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

Summary of changes:
 NEWS             |    2 +-
 lib/libtasn1.h   |    2 +-
 lib/structure.c  |    4 ++--
 tests/copynode.c |    6 +++---
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/NEWS b/NEWS
index 7d2ce95..d62c429 100644
--- a/NEWS
+++ b/NEWS
@@ -4,7 +4,7 @@ GNU Libtasn1 NEWS                                     -*- 
outline -*-
 - asn1_der_decoding_element() is an alias to asn1_der_decoding().
 - optimized asn1_der_decoding_startEnd(). It only performs the decoding
   step, if it is not already done.
-- Added asn1_copy_node2().
+- Added asn1_dup_node().
 - asn1_read_value() understands the ?CURRENT keyword, which can be used
   to indicate the current element of a sequence, when the provided node
   is a sequence element.
diff --git a/lib/libtasn1.h b/lib/libtasn1.h
index 064c10f..f798a75 100644
--- a/lib/libtasn1.h
+++ b/lib/libtasn1.h
@@ -330,7 +330,7 @@ extern "C"
     asn1_copy_node (asn1_node dst, const char *dst_name,
                    asn1_node src, const char *src_name);
   extern ASN1_API asn1_node
-    asn1_copy_node2 (asn1_node src, const char *src_name);
+    asn1_dup_node (asn1_node src, const char *src_name);
 
   /* Internal and low-level DER utility functions. */
 
diff --git a/lib/structure.c b/lib/structure.c
index 1c9dd59..acd2f2e 100644
--- a/lib/structure.c
+++ b/lib/structure.c
@@ -1177,7 +1177,7 @@ asn1_copy_node (asn1_node dst, const char *dst_name,
 }
 
 /**
- * asn1_copy_node2:
+ * asn1_dup_node:
  * @src: Source asn1 node.
  * @src_name: Field name in source node.
  *
@@ -1187,7 +1187,7 @@ asn1_copy_node (asn1_node dst, const char *dst_name,
  * Returns: Return %NULL on failure.
  **/
 asn1_node
-asn1_copy_node2 (asn1_node src, const char *src_name)
+asn1_dup_node (asn1_node src, const char *src_name)
 {
   return _asn1_copy_structure2(src, src_name);
 }
diff --git a/tests/copynode.c b/tests/copynode.c
index 5e5821f..a24f1ce 100644
--- a/tests/copynode.c
+++ b/tests/copynode.c
@@ -152,11 +152,11 @@ main (int argc, char *argv[])
 
   asn1_delete_structure (&cpy_node);
 
-  /* Test asn1_copy_node2 */
-  cpy_node = asn1_copy_node2(asn1_element, "");
+  /* Test asn1_dup_node */
+  cpy_node = asn1_dup_node(asn1_element, "");
   if (cpy_node == NULL)
     {
-      printf ("Cannot copy node (copy_node2)\n");
+      printf ("Cannot copy node (dup_node)\n");
       exit (1);
     }
 


hooks/post-receive
-- 
GNU libtasn1



reply via email to

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