]> sjero.net Git - wget/commitdiff
[svn] Applied Christian Fraenkel's patch from <3BAF5B30.189077D6@gmx.net>.
authorhniksic <devnull@localhost>
Fri, 16 Nov 2001 17:06:25 +0000 (09:06 -0800)
committerhniksic <devnull@localhost>
Fri, 16 Nov 2001 17:06:25 +0000 (09:06 -0800)
Print SSL errors when connecting fails.

src/ChangeLog
src/http.c

index 5d23195ed1f2955d9d5b49a74b35150470035d6a..9cfdb4d735c3f4ed9d63cb3336a097a9722dc26f 100644 (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.
index 10451f9b35b0c05ad826daf49e2f7d0315813b4f..cfd2385237c9f3f2b4033c65af5945bcd907f9ef 100644 (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;
         }