diff options
author | Dan Winship <danw@gnome.org> | 2013-11-20 17:18:57 -0500 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-11-20 17:24:08 -0500 |
commit | b16b45344b10d6dc3abcca10ed477c5ea45787c8 (patch) | |
tree | 999e315b50c72874f1605db02d8a336741ecb2e2 | |
parent | d24e469c9a4e11a6ca05dab8b4c95d4d14186c75 (diff) | |
download | libsoup-b16b45344b10d6dc3abcca10ed477c5ea45787c8.tar.gz |
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.
-rw-r--r-- | tests/no-ssl-test.c | 5 |
1 files changed, 0 insertions, 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++; |