summaryrefslogtreecommitdiff
path: root/tests/slow
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-01-06 21:38:44 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-01-06 21:38:44 +0100
commitf935f4fec2b7aae9f3b5fa3308dd6fb9483a5845 (patch)
tree529ab98cacc957ba5a79281da1d35ae8560cadd9 /tests/slow
parenta7a6495414befe9b69578aa06cfe6c203c2d4289 (diff)
downloadgnutls-f935f4fec2b7aae9f3b5fa3308dd6fb9483a5845.tar.gz
properly deinitialize.
Diffstat (limited to 'tests/slow')
-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");
}