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-connection.h | |
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-connection.h')
-rw-r--r-- | libsoup/soup-connection.h | 1 |
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" |