Use GTlsDatabase, add new SoupSession properties for it
authorDan Winship <danw@gnome.org>
Tue, 13 Sep 2011 00:33:39 +0000 (20:33 -0400)
committerDan Winship <danw@gnome.org>
Thu, 29 Sep 2011 19:14:54 +0000 (15:14 -0400)
commit74d9cd866e2f4aac42663e55a97d992fce47fd60
tree7e31c44ba10cb508b0d2f921b9fa75b651ebee33
parent5299595334a0a1081b6278d61cac958c17fe7fe6
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.
13 files changed:
configure.ac
libsoup/Makefile.am
libsoup/soup-connection.c
libsoup/soup-connection.h
libsoup/soup-message-io.c
libsoup/soup-misc.c
libsoup/soup-misc.h
libsoup/soup-server.c
libsoup/soup-session.c
libsoup/soup-session.h
libsoup/soup-socket.c
libsoup/soup-ssl.c [deleted file]
libsoup/soup-ssl.h [deleted file]