summaryrefslogtreecommitdiff
path: root/tests/strict-der.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/strict-der.c')
-rw-r--r--tests/strict-der.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/tests/strict-der.c b/tests/strict-der.c
index 477e041..693f1b8 100644
--- a/tests/strict-der.c
+++ b/tests/strict-der.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.
*
@@ -96,11 +96,13 @@ main (int argc, char *argv[])
exit (1);
}
- result = asn1_der_decoding2 (&asn1_element, buffer, &size, 0, errorDescription);
+ result =
+ asn1_der_decoding2 (&asn1_element, buffer, &size, 0, errorDescription);
if (result != ASN1_SUCCESS)
{
asn1_perror (result);
- printf ("Cannot decode BER data (size %ld) in %s: %s\n", (long) size, indeffile, errorDescription);
+ printf ("Cannot decode BER data (size %ld) in %s: %s\n", (long) size,
+ indeffile, errorDescription);
exit (1);
}
@@ -116,11 +118,14 @@ main (int argc, char *argv[])
exit (1);
}
- result = asn1_der_decoding2 (&asn1_element, buffer, &size, ASN1_DECODE_FLAG_STRICT_DER, errorDescription);
+ result =
+ asn1_der_decoding2 (&asn1_element, buffer, &size,
+ ASN1_DECODE_FLAG_STRICT_DER, errorDescription);
if (result == ASN1_SUCCESS)
{
asn1_perror (result);
- printf ("Should not have decoded DER data (size %ld) in %s: %s\n", (long) size, indeffile, errorDescription);
+ printf ("Should not have decoded DER data (size %ld) in %s: %s\n",
+ (long) size, indeffile, errorDescription);
exit (1);
}