summaryrefslogtreecommitdiff
path: root/tests/set_pkcs12_cred.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-03-20 14:57:26 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-03-20 14:57:26 +0100
commit57d407aba226740d7e5f830155c260199461bb6d (patch)
tree0b3d4f5c1e52d98f13273c9a4d22d03a10e6c98c /tests/set_pkcs12_cred.c
parent5bf4daf8d5ebc79058bdafe8167da04abc5c5582 (diff)
downloadgnutls-57d407aba226740d7e5f830155c260199461bb6d.tar.gz
Reduced several unneeded messages during the make check procedure.
Verbose messages can be obtained with --verbose.
Diffstat (limited to 'tests/set_pkcs12_cred.c')
-rw-r--r--tests/set_pkcs12_cred.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/set_pkcs12_cred.c b/tests/set_pkcs12_cred.c
index d15ae76b79..200f8b661a 100644
--- a/tests/set_pkcs12_cred.c
+++ b/tests/set_pkcs12_cred.c
@@ -51,7 +51,7 @@ doit (void)
if (!password)
password = "foobar";
- success ("Reading PKCS#12 blob from `%s' using password `%s'.\n",
+ if (debug) success ("Reading PKCS#12 blob from `%s' using password `%s'.\n",
file, password);
ret = gnutls_certificate_set_x509_simple_pkcs12_file (x509cred,
file,
@@ -60,7 +60,7 @@ doit (void)
if (ret < 0)
fail ("x509_pkcs12 failed %d: %s\n", ret, gnutls_strerror (ret));
- success ("Read file OK\n");
+ if (debug) success ("Read file OK\n");
gnutls_certificate_free_credentials (x509cred);
@@ -79,7 +79,7 @@ doit (void)
if (!password)
password = "";
- success ("Reading PKCS#12 blob from `%s' using password `%s'.\n",
+ if (debug) success ("Reading PKCS#12 blob from `%s' using password `%s'.\n",
file, password);
ret = gnutls_certificate_set_x509_simple_pkcs12_file (x509cred,
file,
@@ -88,7 +88,7 @@ doit (void)
if (ret < 0)
fail ("x509_pkcs12 failed %d: %s\n", ret, gnutls_strerror (ret));
- success ("Read file OK\n");
+ if (debug) success ("Read file OK\n");
gnutls_certificate_free_credentials (x509cred);