summaryrefslogtreecommitdiff
path: root/pkcs11/wrap-layer/tests/test-login-user.c
diff options
context:
space:
mode:
Diffstat (limited to 'pkcs11/wrap-layer/tests/test-login-user.c')
-rw-r--r--pkcs11/wrap-layer/tests/test-login-user.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkcs11/wrap-layer/tests/test-login-user.c b/pkcs11/wrap-layer/tests/test-login-user.c
index e67e89a5..f099d931 100644
--- a/pkcs11/wrap-layer/tests/test-login-user.c
+++ b/pkcs11/wrap-layer/tests/test-login-user.c
@@ -163,7 +163,9 @@ test_fail_get_token_info (Test *test, gconstpointer unused)
int
main (int argc, char **argv)
{
+#if !GLIB_CHECK_VERSION(2,35,0)
g_type_init ();
+#endif
g_test_init (&argc, &argv, NULL);
g_test_add ("/wrap-layer/login-user/fail_unsupported_so", Test, NULL, setup, test_fail_unsupported_so, teardown);