Home
last modified time | relevance | path

Searched refs:tlsdb (Results 1 – 12 of 12) sorted by relevance

/third_party/libsoup/tests/
Dno-ssl-test.c54 GTlsDatabase *tlsdb; in do_session_property_tests() local
72 "tls-database", &tlsdb, in do_session_property_tests()
76 soup_test_assert (tlsdb == NULL, "tls-database set by default"); in do_session_property_tests()
93 "tls-database", &tlsdb, in do_session_property_tests()
98 soup_test_assert (tlsdb == NULL, "setting ssl-ca-file set tls-database"); in do_session_property_tests()
105 "tls-database", &tlsdb, in do_session_property_tests()
108 soup_test_assert (tlsdb == NULL, "setting tls-database NULL failed"); in do_session_property_tests()
Dssl-test.c148 GTlsDatabase *tlsdb; in do_session_property_tests() local
175 "tls-database", &tlsdb, in do_session_property_tests()
180 soup_test_assert (tlsdb == NULL, in do_session_property_tests()
191 "tls-database", &tlsdb, in do_session_property_tests()
197 soup_test_assert (tlsdb != NULL, in do_session_property_tests()
200 g_clear_object (&tlsdb); in do_session_property_tests()
211 "tls-database", &tlsdb, in do_session_property_tests()
217 soup_test_assert (tlsdb != NULL, in do_session_property_tests()
220 g_clear_object (&tlsdb); in do_session_property_tests()
232 "tls-database", &tlsdb, in do_session_property_tests()
[all …]
Dsession-test.c246 GTlsDatabase *tlsdb = NULL; in test_session_properties() local
250 SOUP_SESSION_TLS_DATABASE, &tlsdb, in test_session_properties()
256 soup_test_assert (tlsdb == expected_tls_database, in test_session_properties()
258 name, tlsdb ? (expected_tls_database ? "wrong" : "a") : "no"); in test_session_properties()
261 g_clear_object (&tlsdb); in test_session_properties()
269 GTlsDatabase *tlsdb, *default_tlsdb; in do_property_tests() local
344 tlsdb = g_tls_file_database_new (g_test_get_filename (G_TEST_DIST, in do_property_tests()
350 SOUP_SESSION_TLS_DATABASE, tlsdb, in do_property_tests()
353 default_proxy_resolver, tlsdb); in do_property_tests()
354 g_object_unref (tlsdb); in do_property_tests()
Dtest-utils.c247 GTlsDatabase *tlsdb; in soup_test_session_new() local
262 tlsdb = g_tls_file_database_new (abs_cafile, &error); in soup_test_session_new()
272 SOUP_SESSION_TLS_DATABASE, tlsdb, in soup_test_session_new()
274 g_clear_object (&tlsdb); in soup_test_session_new()
Dlibsoup.supp208 glib/tlsdb
/third_party/libsoup/libsoup/
Dsoup-socket-properties.c18 GTlsDatabase *tlsdb, in soup_socket_properties_new() argument
35 props->tlsdb = tlsdb ? g_object_ref (tlsdb) : NULL; in soup_socket_properties_new()
61 g_clear_object (&props->tlsdb); in soup_socket_properties_unref()
Dsoup-socket-private.h60 GTlsDatabase *tlsdb; member
78 GTlsDatabase *tlsdb,
Dsoup-session.c99 GTlsDatabase *tlsdb; member
337 g_clear_object (&priv->tlsdb); in soup_session_finalize()
375 priv->tlsdb = g_tls_backend_get_default_database (g_tls_backend_get_default ()); in ensure_socket_props()
379 ssl_strict = priv->ssl_strict && (priv->tlsdb != NULL || in ensure_socket_props()
386 priv->tlsdb, in ensure_socket_props()
474 set_tlsdb (SoupSession *session, GTlsDatabase *tlsdb) in set_tlsdb() argument
480 if (tlsdb == priv->tlsdb) in set_tlsdb()
487 if (priv->tlsdb == system_default || tlsdb == system_default) { in set_tlsdb()
499 if (priv->tlsdb) in set_tlsdb()
500 g_object_unref (priv->tlsdb); in set_tlsdb()
[all …]
Dsoup-socket.c353 if (props->tlsdb) in soup_socket_set_property()
354 priv->ssl_creds = g_object_ref (props->tlsdb); in soup_socket_set_property()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dsouphttpsrc.c160 GTlsDatabase *tlsdb; in run_test() local
174 tlsdb = g_tls_file_database_new (path, &error); in run_test()
175 fail_unless (tlsdb, "Failed to load certificate: %s", error->message); in run_test()
177 g_object_set (src, "tls-database", tlsdb, NULL); in run_test()
179 g_object_unref (tlsdb); in run_test()
/third_party/glib/gio/
Dgdummytlsbackend.c96 GTlsDatabase *tlsdb; in g_dummy_tls_backend_get_default_database() local
98 tlsdb = g_object_new (_g_dummy_tls_database_get_type (), NULL); in g_dummy_tls_backend_get_default_database()
99 g_once_init_leave (&dummy->database, tlsdb); in g_dummy_tls_backend_get_default_database()
/third_party/libsoup/
DNEWS2073 tlsdb) and SoupSession:tlsdb (to specify a specific tlsdb to