summaryrefslogtreecommitdiff
path: root/tests/gc.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/gc.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/gc.c')
-rw-r--r--tests/gc.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/gc.c b/tests/gc.c
index d9883a3a8b..47c927b8de 100644
--- a/tests/gc.c
+++ b/tests/gc.c
@@ -49,7 +49,9 @@ doit (void)
{
if (memcmp (digest, "\x3c\xb0\x9d\x83\x28\x01\xef\xc0"
"\x7b\xb3\xaf\x42\x69\xe5\x93\x9a", 16) == 0)
- success ("_gnutls_hmac_fast(MD5) OK\n");
+ {
+ if (debug) success ("_gnutls_hmac_fast(MD5) OK\n");
+ }
else
{
hexprint (digest, 16);
@@ -67,7 +69,9 @@ doit (void)
if (memcmp (digest, "\x58\x93\x7a\x58\xfe\xea\x82\xf8"
"\x0e\x64\x62\x01\x40\x2b\x2c\xed\x5d\x54\xc1\xfa",
20) == 0)
- success ("_gnutls_hmac_fast(SHA1) OK\n");
+ {
+ if (debug) success ("_gnutls_hmac_fast(SHA1) OK\n");
+ }
else
{
hexprint (digest, 20);
@@ -82,7 +86,9 @@ doit (void)
{
if (memcmp (digest, "\x09\xb7\x85\x57\xdd\xf6\x07\x15"
"\x1c\x52\x34\xde\xba\x5c\xdc\x59", 16) == 0)
- success ("_gnutls_pkcs5_pbkdf2_sha1() OK\n");
+ {
+ if (debug) success ("_gnutls_pkcs5_pbkdf2_sha1() OK\n");
+ }
else
{
hexprint (digest, 16);