summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Test_errors.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/tests/Test_errors.c b/tests/Test_errors.c
index 6ddcf33..1f65d7b 100644
--- a/tests/Test_errors.c
+++ b/tests/Test_errors.c
@@ -26,15 +26,17 @@ main (int argc, char *argv[])
asn1_retCode ec = 0;
const char *errstr;
- do {
- errstr = asn1_strerror (ec);
- asn1_perror (ec);
+ do
+ {
+ errstr = asn1_strerror (ec);
+ asn1_perror (ec);
#ifndef ASN1_DISABLE_DEPRECATED
- errstr = libtasn1_strerror (ec);
- libtasn1_perror (ec);
+ errstr = libtasn1_strerror (ec);
+ libtasn1_perror (ec);
#endif
- ec++;
- } while (errstr);
+ ec++;
+ }
+ while (errstr);
return 0;
}