From ac74e16638fc747285d805877c3f85851a3183c9 Mon Sep 17 00:00:00 2001 From: hniksic Date: Fri, 16 Nov 2001 09:06:25 -0800 Subject: [PATCH] [svn] Applied Christian Fraenkel's patch from <3BAF5B30.189077D6@gmx.net>. Print SSL errors when connecting fails. --- src/ChangeLog | 5 +++++ src/http.c | 1 + 2 files changed, 6 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 5d23195e..9cfdb4d7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-09-29 Christian Fraenkel + + * http.c (gethttp): print debug output for errors occuring during + the ssl handshake. + 2001-11-16 Chris Seawood * init.c: Ditto. diff --git a/src/http.c b/src/http.c index 10451f9b..cfd23852 100644 --- a/src/http.c +++ b/src/http.c @@ -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; }