diff options
author | Dan Winship <danw@gnome.org> | 2009-08-09 11:23:55 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2009-08-09 11:23:55 -0400 |
commit | caaa22bcfb062ce99c0f784500f7507ad0246c73 (patch) | |
tree | 67e6d1c8f89ea8516cb34b70f3583233fb4be0b6 /libsoup/soup-status.c | |
parent | 99bb1c5829da36abb70c7feb4f905a19f23ff8c0 (diff) | |
download | libsoup-caaa22bcfb062ce99c0f784500f7507ad0246c73.tar.gz |
Fix error code when trying to https with --disable-ssl
http://bugzilla.gnome.org/show_bug.cgi?id=590464
Diffstat (limited to 'libsoup/soup-status.c')
-rw-r--r-- | libsoup/soup-status.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libsoup/soup-status.c b/libsoup/soup-status.c index 91382607..11422acf 100644 --- a/libsoup/soup-status.c +++ b/libsoup/soup-status.c @@ -178,7 +178,11 @@ static const struct { { SOUP_STATUS_CANT_RESOLVE_PROXY, "Cannot resolve proxy hostname" }, { SOUP_STATUS_CANT_CONNECT, "Cannot connect to destination" }, { SOUP_STATUS_CANT_CONNECT_PROXY, "Cannot connect to proxy" }, +#ifdef HAVE_SSL { SOUP_STATUS_SSL_FAILED, "SSL handshake failed" }, +#else + { SOUP_STATUS_SSL_FAILED, "SSL support not available" }, +#endif { SOUP_STATUS_IO_ERROR, "Connection terminated unexpectedly" }, { SOUP_STATUS_MALFORMED, "Message Corrupt" }, |