From b16b45344b10d6dc3abcca10ed477c5ea45787c8 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 20 Nov 2013 17:18:57 -0500 Subject: no-ssl-test: fix for GDummyTlsBackend changes This was assuming that setting "ssl-use-system-ca-file" would fail when using the dummy TLS backend, but the fact that it failed was just a side effect of the fact that GDummyTlsBackend returned a different GTlsDatabase every time you called g_tls_backend_get_default_database(). Now that that's fixed, setting "ssl-use-system-ca-file" does appear to work. Of course, SSL won't work at all with the dummy backend, so it doesn't really matter whether setting this property works or not, so just remove that part of the test, so this will pass with either old or new glib. --- tests/no-ssl-test.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/no-ssl-test.c b/tests/no-ssl-test.c index 89a75206..f442ea0e 100644 --- a/tests/no-ssl-test.c +++ b/tests/no-ssl-test.c @@ -92,13 +92,8 @@ do_session_property_tests (void) "ssl-use-system-ca-file", TRUE, NULL); g_object_get (G_OBJECT (session), - "ssl-use-system-ca-file", &use_system, "ssl-ca-file", &ca_file, NULL); - if (use_system) { - debug_printf (1, " setting ssl-use-system-ca-file did not fail\n"); - errors++; - } if (ca_file) { debug_printf (1, " setting ssl-use-system-ca-file set ssl-ca-file\n"); errors++; -- cgit v1.2.1