summaryrefslogtreecommitdiff
path: root/tests/copynode.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/copynode.c')
-rw-r--r--tests/copynode.c6
1 files changed, 3 insertions, 3 deletions
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);
}