Don't uselessly g_warn when TLS isn't available
authorDan Winship <danw@gnome.org>
Fri, 10 Dec 2010 11:53:48 +0000 (12:53 +0100)
committerDan Winship <danw@gnome.org>
Fri, 10 Dec 2010 11:53:48 +0000 (12:53 +0100)
commit6cd40fbf575c2211c7382b79042b561ac43dd64f
tree952bc3c01377085d806b7b049c2f7b53f604f83f
parent8d77fee770814f33f287b26f2898ed986ff9d3b4
Don't uselessly g_warn when TLS isn't available

We g_warn if we can't read the provided SOUP_SESSION_SSL_CA_FILE
(since we have no other way to indicate the error to the app). But
don't warn if the problem is just that the TLS backend isn't available,
since that will cause equally-obvious failures later on that don't
require g_warnings.
libsoup/soup-ssl.c