diff options
-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, |