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_3-9-g1d8e5a8


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU libtasn1 branch, master, updated. libtasn1_3_3-9-g1d8e5a8
Date: Mon, 25 Nov 2013 19:16:12 +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=1d8e5a89a70b1ffdc0e74770ede172cbeae239e4

The branch, master has been updated
       via  1d8e5a89a70b1ffdc0e74770ede172cbeae239e4 (commit)
       via  2438faae2cec9c9a2caeba9044560e1546eae571 (commit)
      from  eb440016e28ef46729536ae0d8c3a935eb3ca798 (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 1d8e5a89a70b1ffdc0e74770ede172cbeae239e4
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Mon Nov 25 20:12:38 2013 +0100

    include asn1_delete_structure2() to tests

commit 2438faae2cec9c9a2caeba9044560e1546eae571
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Mon Nov 25 20:12:19 2013 +0100

    exported function

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

Summary of changes:
 lib/libtasn1.map  |    2 +-
 tests/Test_tree.c |    7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/lib/libtasn1.map b/lib/libtasn1.map
index 4ddfd42..9a63408 100644
--- a/lib/libtasn1.map
+++ b/lib/libtasn1.map
@@ -53,7 +53,7 @@ LIBTASN1_0_3
     asn1_encode_simple_der;
     asn1_decode_simple_der;
     asn1_read_value_type;
-
+    asn1_delete_structure2;
   local:
     *;
 };
diff --git a/tests/Test_tree.c b/tests/Test_tree.c
index c44777e..b251854 100644
--- a/tests/Test_tree.c
+++ b/tests/Test_tree.c
@@ -24,6 +24,7 @@
 /* Description: Test sequences for these functions:  */
 /*     asn1_visit_tree,                              */
 /*     asn1_create_element,                          */
+/*     asn1_delete_structure2,                       */
 /*     asn1_delete_structure,                        */
 /*     asn1_write_value,                             */
 /*     asn1_read_value,                              */
@@ -58,6 +59,7 @@
 #define ACT_READ_BIT           19
 #define ACT_SET_DER            20
 #define ACT_DELETE_ELEMENT     21
+#define ACT_DELETE2    22
 
 
 typedef struct
@@ -87,7 +89,7 @@ test_type test_array[] = {
   {ACT_VISIT, "", "", ASN1_PRINT_ALL, ASN1_SUCCESS, __LINE__},
   {ACT_DELETE_ELEMENT, "pvno", "", 0, ASN1_SUCCESS, __LINE__},
   {ACT_DELETE_ELEMENT, "pvno", "", 0, ASN1_ELEMENT_NOT_FOUND, __LINE__},
-  {ACT_DELETE, "", "", 0, ASN1_SUCCESS, __LINE__},
+  {ACT_DELETE2, "", "", 0, ASN1_SUCCESS, __LINE__},
 
   /* Test: CHOICE */
   {ACT_CREATE, "TEST_TREE.CertTemplate", 0, 0, ASN1_SUCCESS, __LINE__},
@@ -531,6 +533,9 @@ main (int argc, char *argv[])
        case ACT_DELETE:
          result = asn1_delete_structure (&asn1_element);
          break;
+       case ACT_DELETE2:
+         result = asn1_delete_structure2 (&asn1_element, 
ASN1_DELETE_FLAG_ZEROIZE);
+         break;
        case ACT_DELETE_ELEMENT:
          result = asn1_delete_element (asn1_element, test->par1);
          break;


hooks/post-receive
-- 
GNU libtasn1



reply via email to

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