From 3fb228bd5507240f6116e6210e615a9458192df9 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Fri, 7 Apr 2017 16:51:46 +0200 Subject: tests: use gnutls_global_init instead of global_init The reason is to force initialization of the PKCS#11 backend, and thus support for any PKCS#11 trust store when setup. This fixes running the test suite in Fedora. Signed-off-by: Nikos Mavrogiannopoulos --- tests/trust-store.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/trust-store.c b/tests/trust-store.c index ae21998f6f..83f9dda6e9 100644 --- a/tests/trust-store.c +++ b/tests/trust-store.c @@ -47,7 +47,7 @@ void doit(void) gnutls_certificate_credentials_t x509_cred; int ret; - global_init(); + gnutls_global_init(); gnutls_global_set_log_function(tls_log_func); if (debug) -- cgit v1.2.1