diff options
author | Simon Josefsson <simon@josefsson.org> | 2006-02-08 19:09:24 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2006-02-08 19:09:24 +0000 |
commit | 81e9b7c9ba768def64eb48e226ac1d82bdfb46aa (patch) | |
tree | e3a38e3f83894dbca51f888394f60da4155c3622 /tests/set_pkcs12_cred.c | |
parent | 89b7cd331cafcf6e109e2b70c10e859664da7927 (diff) | |
download | gnutls-81e9b7c9ba768def64eb48e226ac1d82bdfb46aa.tar.gz |
Simplify using under gdb.
Diffstat (limited to 'tests/set_pkcs12_cred.c')
-rw-r--r-- | tests/set_pkcs12_cred.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/set_pkcs12_cred.c b/tests/set_pkcs12_cred.c index a67e771384..e2a756db97 100644 --- a/tests/set_pkcs12_cred.c +++ b/tests/set_pkcs12_cred.c @@ -20,6 +20,11 @@ main (int argc, char *argv[]) file = getenv ("PKCS12FILE"); password = getenv ("PKCS12PASSWORD"); + if (!file) + file = "client.p12"; + if (!password) + password = "foobar"; + printf ("Reading PKCS#12 blob from `%s' using password `%s'.\n", file, password); ret = gnutls_certificate_set_x509_simple_pkcs12_file (x509cred, |