summaryrefslogtreecommitdiff
path: root/tests/pkcs12_s2k_pem.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/pkcs12_s2k_pem.c
parent91b652d36dcb57db89d7edab6caa88d211f7d859 (diff)
downloadgnutls-e2a5fa157eb1c5fcc946a4690553497d2cb04c09.tar.gz
Indent code.
Diffstat (limited to 'tests/pkcs12_s2k_pem.c')
-rw-r--r--tests/pkcs12_s2k_pem.c35
1 files changed, 23 insertions, 12 deletions
diff --git a/tests/pkcs12_s2k_pem.c b/tests/pkcs12_s2k_pem.c
index 71fe4bf4c8..7298e19685 100644
--- a/tests/pkcs12_s2k_pem.c
+++ b/tests/pkcs12_s2k_pem.c
@@ -234,17 +234,28 @@ static struct
const char *password;
const char *pkcs12key;
int expected_result;
-} keys[] = {
- { "x_9607", "123456", X_9607, 0 },
- { "x_9671", "123456", X_9671, 0 },
- { "x_9925", "123456", X_9925, 0 },
- { "x_9926", "123456", X_9926, 0 },
- { "x_9927", "123456", X_9927, 0 },
- { "x_9928", "123456", X_9928, 0 },
- { "x_9929", "123456", X_9929, 0 },
- { "x_9930", "123456", X_9930, 0 },
- { "x_9931", "123456", X_9931, 0 },
- { "x_9932", "123456", X_9932, 0 }
+} keys[] =
+{
+ {
+ "x_9607", "123456", X_9607, 0},
+ {
+ "x_9671", "123456", X_9671, 0},
+ {
+ "x_9925", "123456", X_9925, 0},
+ {
+ "x_9926", "123456", X_9926, 0},
+ {
+ "x_9927", "123456", X_9927, 0},
+ {
+ "x_9928", "123456", X_9928, 0},
+ {
+ "x_9929", "123456", X_9929, 0},
+ {
+ "x_9930", "123456", X_9930, 0},
+ {
+ "x_9931", "123456", X_9931, 0},
+ {
+ "x_9932", "123456", X_9932, 0}
};
int
@@ -265,7 +276,7 @@ main (void)
if (ret < 0)
return 1;
- tmp.data = (char*) keys[i].pkcs12key;
+ tmp.data = (char *) keys[i].pkcs12key;
tmp.size = strlen (tmp.data);
ret = gnutls_x509_privkey_import_pkcs8 (key, &tmp,