diff options
author | Dan Winship <danw@gnome.org> | 2011-09-12 20:33:39 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2011-09-29 15:14:54 -0400 |
commit | 74d9cd866e2f4aac42663e55a97d992fce47fd60 (patch) | |
tree | 7e31c44ba10cb508b0d2f921b9fa75b651ebee33 /libsoup/soup-misc.c | |
parent | 5299595334a0a1081b6278d61cac958c17fe7fe6 (diff) | |
download | libsoup-74d9cd866e2f4aac42663e55a97d992fce47fd60.tar.gz |
Use GTlsDatabase, add new SoupSession properties for it
Now that we have GTlsFileDatabase, we can use that to validate
certificates when the caller sets SoupSession:ssl-ca-file, rather than
doing it the slow hacky way we had been.
Also, add two new properties, SoupSession:tlsdb, to set an arbitrary
GTlsDatabase on the session, and SoupSession:use-system-ca-file, to
tell it to use the default GTlsDatabase.
Diffstat (limited to 'libsoup/soup-misc.c')
-rw-r--r-- | libsoup/soup-misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libsoup/soup-misc.c b/libsoup/soup-misc.c index 31366453..5c09526f 100644 --- a/libsoup/soup-misc.c +++ b/libsoup/soup-misc.c @@ -16,6 +16,8 @@ * **/ +const gboolean soup_ssl_supported = TRUE; + /** * soup_str_case_hash: * @key: ASCII string to hash |