summaryrefslogtreecommitdiff
path: root/tests/anonself.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-05-01 15:10:48 +0300
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-05-01 15:10:48 +0300
commite4c503763c743d70bf18fa911120da1d3ab86538 (patch)
tree3d3bc58983929e4df33c52219ad42456a69dc056 /tests/anonself.c
parentc8e7cc4218b43a83806c7b7c164bfc52d1e00453 (diff)
downloadgnutls-e4c503763c743d70bf18fa911120da1d3ab86538.tar.gz
When running tests disable PKCS #11 support to avoid detecting memory leaks from PKCS #11 libraries.
Diffstat (limited to 'tests/anonself.c')
-rw-r--r--tests/anonself.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/anonself.c b/tests/anonself.c
index e2085ac3a2..3aa8e6b406 100644
--- a/tests/anonself.c
+++ b/tests/anonself.c
@@ -64,7 +64,7 @@ client (void)
gnutls_anon_client_credentials_t anoncred;
/* Need to enable anonymous KX specifically. */
- gnutls_global_init ();
+ global_init ();
gnutls_global_set_log_function (tls_log_func);
if (debug)
@@ -249,7 +249,7 @@ server (void)
{
/* this must be called once in the program
*/
- gnutls_global_init ();
+ global_init ();
gnutls_global_set_log_function (tls_log_func);
if (debug)