summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/slow/gendh.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/slow/gendh.c b/tests/slow/gendh.c
index e3732bb4c5..d29e87659e 100644
--- a/tests/slow/gendh.c
+++ b/tests/slow/gendh.c
@@ -43,6 +43,10 @@ doit (void)
if (gnutls_dh_params_generate2 (dh_params, 1024) < 0)
fail ("Error in prime generation\n");
+
+ gnutls_dh_params_deinit(dh_params);
+
+ gnutls_global_deinit();
- success ("generated DH params OK\n");
+ if (debug) success ("generated DH params OK\n");
}