summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-06-05 15:39:28 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-06-05 15:39:28 +0200
commit4de401ddb42e290052b24560bcd877cafdf5dd9b (patch)
treee9e0c56ad0e02de3a3b57cc90863970af8c0f9ad /lib
parent0acd71a02e57f6cf5f6e105e8879a8622052ebe8 (diff)
downloadlibtasn1-4de401ddb42e290052b24560bcd877cafdf5dd9b.tar.gz
libtasn1-4de401ddb42e290052b24560bcd877cafdf5dd9b.tar.bz2
libtasn1-4de401ddb42e290052b24560bcd877cafdf5dd9b.zip
renamed asn1_copy_node2 to asn1_dup_node
Diffstat (limited to 'lib')
-rw-r--r--lib/libtasn1.h2
-rw-r--r--lib/structure.c4
2 files changed, 3 insertions, 3 deletions
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);
}