summaryrefslogtreecommitdiff
path: root/tests/pkcs12_encode.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/pkcs12_encode.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/pkcs12_encode.c')
-rw-r--r--tests/pkcs12_encode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pkcs12_encode.c b/tests/pkcs12_encode.c
index 3d9e8e6210..632418396a 100644
--- a/tests/pkcs12_encode.c
+++ b/tests/pkcs12_encode.c
@@ -85,9 +85,9 @@ doit (void)
size_t size;
int i;
- ret = gnutls_global_init ();
+ ret = global_init ();
if (ret < 0)
- error (EXIT_FAILURE, 0, "gnutls_global_init %d", ret);
+ error (EXIT_FAILURE, 0, "global_init %d", ret);
gnutls_global_set_log_function (tls_log_func);
if (debug)