diff options
Diffstat (limited to 'tests/set_pkcs12_cred.c')
-rw-r--r-- | tests/set_pkcs12_cred.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/set_pkcs12_cred.c b/tests/set_pkcs12_cred.c index f7cd7bee57..f68daf4dd5 100644 --- a/tests/set_pkcs12_cred.c +++ b/tests/set_pkcs12_cred.c @@ -20,7 +20,7 @@ */ #ifdef HAVE_CONFIG_H -#include <config.h> +# include <config.h> #endif #include <stdlib.h> @@ -40,8 +40,8 @@ typedef struct { files_st files[] = { {"client.p12", "foobar"}, - {"cert-ca.p12", "1234"}, /* 2 certs, one is a CA */ - {"pkcs12_2certs.p12", ""}, /* 2 certs, on is unrelated */ + {"cert-ca.p12", "1234"}, /* 2 certs, one is a CA */ + {"pkcs12_2certs.p12", ""}, /* 2 certs, on is unrelated */ {NULL, NULL} }; @@ -85,8 +85,8 @@ void doit(void) gnutls_certificate_set_x509_simple_pkcs12_file(x509cred, file, GNUTLS_X509_FMT_DER, - files[i]. - pass); + files + [i].pass); if (ret < 0) fail("x509_pkcs12 failed %d: %s\n", ret, gnutls_strerror(ret)); |