diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-03-20 14:57:26 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-03-20 14:57:26 +0100 |
commit | 57d407aba226740d7e5f830155c260199461bb6d (patch) | |
tree | 0b3d4f5c1e52d98f13273c9a4d22d03a10e6c98c /tests/set_pkcs12_cred.c | |
parent | 5bf4daf8d5ebc79058bdafe8167da04abc5c5582 (diff) | |
download | gnutls-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.c | 8 |
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); |