summaryrefslogtreecommitdiff
path: root/tests/openpgpself.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/openpgpself.c')
-rw-r--r--tests/openpgpself.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/openpgpself.c b/tests/openpgpself.c
index 1691190dd1..fb30229dd4 100644
--- a/tests/openpgpself.c
+++ b/tests/openpgpself.c
@@ -139,7 +139,7 @@ client (void)
char buffer[MAX_BUF + 1];
gnutls_certificate_credentials_t xcred;
- gnutls_global_init ();
+ global_init ();
gnutls_global_set_log_function (tls_log_func);
if (debug)
@@ -534,7 +534,7 @@ server (void)
int j;
/* this must be called once in the program
*/
- gnutls_global_init ();
+ global_init ();
gnutls_global_set_log_function (tls_log_func);
if (debug)