diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-06-07 16:33:40 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-06-07 16:33:40 +0200 |
commit | f1cccbd6f79f903b2b0740ca35343ea1a74bb66d (patch) | |
tree | e2d287822a9e5f2e110f4ab67d1c872518a61ce4 /tests/x509dn.c | |
parent | 71af07d3dd6315cb3748e741a82ebfd764f284e7 (diff) | |
download | gnutls-f1cccbd6f79f903b2b0740ca35343ea1a74bb66d.tar.gz |
tests/: Reduce amount of debugging output.
Diffstat (limited to 'tests/x509dn.c')
-rw-r--r-- | tests/x509dn.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/x509dn.c b/tests/x509dn.c index 5e56037db4..2d57793418 100644 --- a/tests/x509dn.c +++ b/tests/x509dn.c @@ -223,7 +223,8 @@ client (void) gnutls_global_init (); gnutls_global_set_log_function (tls_log_func); - gnutls_global_set_log_level (4711); + if (debug) + gnutls_global_set_log_level (4711); gnutls_certificate_allocate_credentials (&xcred); @@ -452,7 +453,8 @@ server (void) gnutls_global_init (); gnutls_global_set_log_function (tls_log_func); - gnutls_global_set_log_level (4711); + if (debug) + gnutls_global_set_log_level (4711); gnutls_certificate_allocate_credentials (&x509_cred); gnutls_certificate_set_x509_trust_mem (x509_cred, &ca, GNUTLS_X509_FMT_PEM); |