summaryrefslogtreecommitdiff
path: root/tests/Test_tree.c
diff options
context:
space:
mode:
authorDariusz Michaluk <d.michaluk@samsung.com>2024-02-13 15:44:51 +0100
committerDariusz Michaluk <d.michaluk@samsung.com>2024-02-14 10:46:44 +0100
commitc28e9eeaa4dccef63b3b237ebe8a8b5abb23e335 (patch)
tree504a1953b56446487f4759d3a5f348bbeb925461 /tests/Test_tree.c
parent1778d37a3eec1209d7c9c064318f3ff8c5132490 (diff)
parent031996ef501f8c3d0532f7df1c38cf2e540a4f11 (diff)
downloadlibtasn1-accepted/tizen_unified.tar.gz
libtasn1-accepted/tizen_unified.tar.bz2
libtasn1-accepted/tizen_unified.zip
Change-Id: I893fd2c90c487d6e13b0b10e25b2cafc408da180
Diffstat (limited to 'tests/Test_tree.c')
-rw-r--r--tests/Test_tree.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/Test_tree.c b/tests/Test_tree.c
index c8a631a..5d7ad03 100644
--- a/tests/Test_tree.c
+++ b/tests/Test_tree.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2002-2014 Free Software Foundation, Inc.
+ * Copyright (C) 2002-2022 Free Software Foundation, Inc.
*
* This file is part of LIBTASN1.
*
@@ -539,7 +539,8 @@ main (int argc, char *argv[])
result = asn1_delete_structure (&asn1_element);
break;
case ACT_DELETE2:
- result = asn1_delete_structure2 (&asn1_element, ASN1_DELETE_FLAG_ZEROIZE);
+ result =
+ asn1_delete_structure2 (&asn1_element, ASN1_DELETE_FLAG_ZEROIZE);
break;
case ACT_DELETE_ELEMENT:
result = asn1_delete_element (asn1_element, test->par1);
@@ -790,7 +791,7 @@ main (int argc, char *argv[])
printf (" Error expected: %s - %d - ",
asn1_strerror (test->errorNumber), test->par3);
for (k = 0; k < test->par3; k++)
- printf ("%02x", (unsigned int)test->par2[k]);
+ printf ("%02x", (unsigned int) test->par2[k]);
printf ("\n Error detected: %s - %d - ",
asn1_strerror (result), valueLen);
for (k = 0; k < valueLen; k++)