summaryrefslogtreecommitdiff
path: root/tests/Test_tree.c
diff options
context:
space:
mode:
authorDariusz Michaluk <d.michaluk@samsung.com>2024-02-13 15:38:29 +0100
committerDariusz Michaluk <d.michaluk@samsung.com>2024-02-13 15:38:29 +0100
commit031996ef501f8c3d0532f7df1c38cf2e540a4f11 (patch)
tree27217d793b273edadc969aa3110378aac3c36e9c /tests/Test_tree.c
parent26bea900a531662c6028ecc06f4adea825658434 (diff)
downloadlibtasn1-upstream.tar.gz
libtasn1-upstream.tar.bz2
libtasn1-upstream.zip
Imported Upstream version 4.19.0upstream/4.19.0upstream
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++)