summaryrefslogtreecommitdiff
path: root/tests/parse_ca.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-07-02 15:24:05 +0200
committerSimon Josefsson <simon@josefsson.org>2008-07-02 15:24:05 +0200
commitbade988016aa5d2936c6bdf53570125181cfe2f9 (patch)
tree65948be9cd75ccfb8fd2a6c26ad15caed4119cc5 /tests/parse_ca.c
parent36f07088e2979bf28e52fec4992d3da04e73eb6c (diff)
downloadgnutls-bade988016aa5d2936c6bdf53570125181cfe2f9.tar.gz
Indent code.
Diffstat (limited to 'tests/parse_ca.c')
-rw-r--r--tests/parse_ca.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/parse_ca.c b/tests/parse_ca.c
index 7523e08ca5..0a3d370a78 100644
--- a/tests/parse_ca.c
+++ b/tests/parse_ca.c
@@ -53,8 +53,7 @@ const static char castr[] =
"Viyi4cBTJ8jylTALBgkqhkiG9w0BAQUDgYEAiaIRqGfp1jPpNeVhABK60SU0KIAy\r\n"
"njuu7kHq5peUgYn8Jd9zNzExBOEp1VOipGsf6G66oQAhDFp2o8zkz7ZH71zR4HEW\r\n"
"KoX6n5Emn6DvcEH/9pAhnGxNHJAoS7czTKv/JDZJhkqHxyrE1fuLsg5Qv25DTw7+\r\n"
- "PfqUpIhz5Bbm7J4=\r\n"
- "-----END CERTIFICATE-----\r\n";
+ "PfqUpIhz5Bbm7J4=\r\n" "-----END CERTIFICATE-----\r\n";
void
doit (void)
@@ -63,7 +62,7 @@ doit (void)
gnutls_certificate_credentials_t cred;
gnutls_datum_t ca = { castr, sizeof (castr) };
- gnutls_global_init();
+ gnutls_global_init ();
rc = gnutls_certificate_allocate_credentials (&cred);
if (rc)
@@ -75,7 +74,7 @@ doit (void)
gnutls_certificate_free_credentials (cred);
- gnutls_global_deinit();
+ gnutls_global_deinit ();
success ("import ok\n");
}