summaryrefslogtreecommitdiff
path: root/tests/openpgpself.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-06-07 16:33:40 +0200
committerSimon Josefsson <simon@josefsson.org>2008-06-07 16:33:40 +0200
commitf1cccbd6f79f903b2b0740ca35343ea1a74bb66d (patch)
treee2d287822a9e5f2e110f4ab67d1c872518a61ce4 /tests/openpgpself.c
parent71af07d3dd6315cb3748e741a82ebfd764f284e7 (diff)
downloadgnutls-f1cccbd6f79f903b2b0740ca35343ea1a74bb66d.tar.gz
tests/: Reduce amount of debugging output.
Diffstat (limited to 'tests/openpgpself.c')
-rw-r--r--tests/openpgpself.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/openpgpself.c b/tests/openpgpself.c
index f5ef8b5722..1c9aceea2b 100644
--- a/tests/openpgpself.c
+++ b/tests/openpgpself.c
@@ -423,7 +423,8 @@ server (void)
gnutls_global_init ();
gnutls_global_set_log_function (tls_log_func);
- gnutls_global_set_log_level (2);
+ if (debug)
+ gnutls_global_set_log_level (4711);
gnutls_certificate_allocate_credentials (&pgp_cred);