summaryrefslogtreecommitdiff
path: root/tests/mpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mpi.c')
-rw-r--r--tests/mpi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mpi.c b/tests/mpi.c
index 73c3381013..2a4249b93a 100644
--- a/tests/mpi.c
+++ b/tests/mpi.c
@@ -48,7 +48,8 @@ doit (void)
gnutls_global_init ();
gnutls_global_set_log_function (tls_log_func);
- gnutls_global_set_log_level (99);
+ if (debug)
+ gnutls_global_set_log_level (99);
n1 = _gnutls_mpi_new (1000);
if (n1 == NULL)