1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Applied Christian Fraenkel's patch from <3BAF5B30.189077D6@gmx.net>.

Print SSL errors when connecting fails.
This commit is contained in:
hniksic 2001-11-16 09:06:25 -08:00
parent d60b54cba0
commit ac74e16638
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-09-29 Christian Fraenkel <c.fraenkel@gmx.net>
* http.c (gethttp): print debug output for errors occuring during
the ssl handshake.
2001-11-16 Chris Seawood <cls@seawood.org>
* init.c: Ditto.

View File

@ -661,6 +661,7 @@ gethttp (struct urlinfo *u, struct http_stat *hs, int *dt)
{
logputs (LOG_VERBOSE, "\n");
logprintf (LOG_NOTQUIET, _("Unable to establish SSL connection.\n"));
ssl_printerrors ();
CLOSE (sock);
return CONSSLERR;
}