summaryrefslogtreecommitdiff
path: root/libsoup/soup-connection.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2011-09-12 20:33:39 -0400
committerDan Winship <danw@gnome.org>2011-09-29 15:14:54 -0400
commit74d9cd866e2f4aac42663e55a97d992fce47fd60 (patch)
tree7e31c44ba10cb508b0d2f921b9fa75b651ebee33 /libsoup/soup-connection.h
parent5299595334a0a1081b6278d61cac958c17fe7fe6 (diff)
downloadlibsoup-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-connection.h')
-rw-r--r--libsoup/soup-connection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsoup/soup-connection.h b/libsoup/soup-connection.h
index ef304e7d..cd663a84 100644
--- a/libsoup/soup-connection.h
+++ b/libsoup/soup-connection.h
@@ -42,6 +42,7 @@ typedef void (*SoupConnectionCallback) (SoupConnection *conn,
#define SOUP_CONNECTION_REMOTE_ADDRESS "remote-address"
#define SOUP_CONNECTION_TUNNEL_ADDRESS "tunnel-address"
#define SOUP_CONNECTION_PROXY_URI "proxy-uri"
+#define SOUP_CONNECTION_SSL "ssl"
#define SOUP_CONNECTION_SSL_CREDENTIALS "ssl-creds"
#define SOUP_CONNECTION_SSL_STRICT "ssl-strict"
#define SOUP_CONNECTION_SSL_FALLBACK "ssl-fallback"