summaryrefslogtreecommitdiff
path: root/tests/nul-in-x509-names.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-11-05 09:50:01 +0100
committerSimon Josefsson <simon@josefsson.org>2009-11-05 09:50:01 +0100
commite2a5fa157eb1c5fcc946a4690553497d2cb04c09 (patch)
tree159d5585846d1ffb7f06d03f4c4f0e46a1d487ba /tests/nul-in-x509-names.c
parent91b652d36dcb57db89d7edab6caa88d211f7d859 (diff)
downloadgnutls-e2a5fa157eb1c5fcc946a4690553497d2cb04c09.tar.gz
Indent code.
Diffstat (limited to 'tests/nul-in-x509-names.c')
-rw-r--r--tests/nul-in-x509-names.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/nul-in-x509-names.c b/tests/nul-in-x509-names.c
index f79dea0fff..0ad9626a5e 100644
--- a/tests/nul-in-x509-names.c
+++ b/tests/nul-in-x509-names.c
@@ -54,8 +54,7 @@ static char badguy_nul_cn_data[] =
"8/pc7vh7C8Y5tQQzXq64Xg5mzKjAag3sYMHF2TnqvRuPHH0WOLHoyDcBqkuZ3+QP\n"
"EL5h7prPzScFRgBg2Gp0CDI8i5ABagczDGyQ2+r7ahcadrtzFCfhpH7V3TCxXfIO\n"
"qtSy1Uz2T5EqB/Q3wc9IGcX+fpKWqN9QajGSo7EU/kHMSWKYTerFugUtScMicu9B\n"
- "CQ==\n"
- "-----END CERTIFICATE-----\n";
+ "CQ==\n" "-----END CERTIFICATE-----\n";
const gnutls_datum_t badguy_nul_cn = {
badguy_nul_cn_data, sizeof (badguy_nul_cn_data)
@@ -120,11 +119,11 @@ main (void)
ret = gnutls_x509_crt_check_hostname (crt, "www.bank.com");
if (ret == 0)
{
- puts("gnutls_x509_crt_check_hostname OK (NUL-IN-CN)");
+ puts ("gnutls_x509_crt_check_hostname OK (NUL-IN-CN)");
}
else
{
- puts("gnutls_x509_crt_check_hostname BROKEN (NUL-IN-CN)");
+ puts ("gnutls_x509_crt_check_hostname BROKEN (NUL-IN-CN)");
exit_code = 1;
}
@@ -138,11 +137,11 @@ main (void)
ret = gnutls_x509_crt_check_hostname (crt, "www.bank.com");
if (ret == 0)
{
- puts("gnutls_x509_crt_check_hostname OK (NUL-IN-SAN)");
+ puts ("gnutls_x509_crt_check_hostname OK (NUL-IN-SAN)");
}
else
{
- puts("gnutls_x509_crt_check_hostname BROKEN (NUL-IN-SAN)");
+ puts ("gnutls_x509_crt_check_hostname BROKEN (NUL-IN-SAN)");
exit_code = 1;
}