diff options
author | Simon Josefsson <simon@josefsson.org> | 2010-04-14 14:51:01 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2010-04-14 14:51:01 +0200 |
commit | a23f37448755d89924f791999432b76f490cb2bf (patch) | |
tree | 188c331f124e69d62fc7e9be2d8d5cab90469b24 /tests/cve-2008-4989.c | |
parent | 705aa8cd3da09abedd6eb5d0d55610b644e4f98d (diff) | |
download | gnutls-a23f37448755d89924f791999432b76f490cb2bf.tar.gz |
Indent code.
Diffstat (limited to 'tests/cve-2008-4989.c')
-rw-r--r-- | tests/cve-2008-4989.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/cve-2008-4989.c b/tests/cve-2008-4989.c index ca38db53e0..16a9fd121e 100644 --- a/tests/cve-2008-4989.c +++ b/tests/cve-2008-4989.c @@ -165,7 +165,7 @@ main (int argc, char *argv[]) { ret = gnutls_x509_crt_init (&certs[i]); if (ret < 0) - error (EXIT_FAILURE, 0, "gnutls_x509_crt_init[%d]: %s", (int)i, + error (EXIT_FAILURE, 0, "gnutls_x509_crt_init[%d]: %s", (int) i, gnutls_strerror (ret)); tmp.data = (char *) pem_certs[i]; @@ -173,7 +173,7 @@ main (int argc, char *argv[]) ret = gnutls_x509_crt_import (certs[i], &tmp, GNUTLS_X509_FMT_PEM); if (ret < 0) - error (EXIT_FAILURE, 0, "gnutls_x509_crt_import[%d]: %s", (int)i, + error (EXIT_FAILURE, 0, "gnutls_x509_crt_import[%d]: %s", (int) i, gnutls_strerror (ret)); } @@ -196,7 +196,7 @@ main (int argc, char *argv[]) GNUTLS_VERIFY_DISABLE_TIME_CHECKS, &verify_status); if (ret < 0) - error (EXIT_FAILURE, 0, "gnutls_x509_crt_list_verify[%d]: %s", (int)i, + error (EXIT_FAILURE, 0, "gnutls_x509_crt_list_verify[%d]: %s", (int) i, gnutls_strerror (ret)); if (verify_status != (GNUTLS_CERT_SIGNER_NOT_FOUND | GNUTLS_CERT_INVALID)) @@ -228,7 +228,7 @@ main (int argc, char *argv[]) GNUTLS_VERIFY_DISABLE_TIME_CHECKS, &verify_status); if (ret < 0) - error (EXIT_FAILURE, 0, "gnutls_x509_crt_list_verify[%d]: %s", (int)i, + error (EXIT_FAILURE, 0, "gnutls_x509_crt_list_verify[%d]: %s", (int) i, gnutls_strerror (ret)); if (verify_status != 0) |