summaryrefslogtreecommitdiff
path: root/tests/mini-dtls-heartbeat.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/mini-dtls-heartbeat.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/mini-dtls-heartbeat.c')
-rw-r--r--tests/mini-dtls-heartbeat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mini-dtls-heartbeat.c b/tests/mini-dtls-heartbeat.c
index b3d6affaa4..bc141472e8 100644
--- a/tests/mini-dtls-heartbeat.c
+++ b/tests/mini-dtls-heartbeat.c
@@ -84,7 +84,7 @@ client (int fd, int server_init)
gnutls_anon_client_credentials_t anoncred;
/* Need to enable anonymous KX specifically. */
- gnutls_global_init ();
+ global_init ();
if (debug)
{
@@ -235,7 +235,7 @@ server (int fd, int server_init)
gnutls_anon_server_credentials_t anoncred;
/* this must be called once in the program
*/
- gnutls_global_init ();
+ global_init ();
if (debug)
{