summaryrefslogtreecommitdiff
path: root/pkcs11/gkm/tests/test-data-der.c
diff options
context:
space:
mode:
Diffstat (limited to 'pkcs11/gkm/tests/test-data-der.c')
-rw-r--r--pkcs11/gkm/tests/test-data-der.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkcs11/gkm/tests/test-data-der.c b/pkcs11/gkm/tests/test-data-der.c
index 0e74027c..2370c1ef 100644
--- a/pkcs11/gkm/tests/test-data-der.c
+++ b/pkcs11/gkm/tests/test-data-der.c
@@ -588,7 +588,9 @@ test_write_pkcs8_encrypted (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 ("/gkm/data-der/der_rsa_public", Test, NULL, setup, test_der_rsa_public, teardown);