From: Matthias Andree Date: Tue, 30 Aug 2011 16:15:15 +0000 (+0200) Subject: Print Server certificate: banner on stdout rather than stderr. X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;ds=sidebyside;h=8bde3b2f911309bdac2d1dcea46c10a5190c37cb;p=~andy%2Ffetchmail Print Server certificate: banner on stdout rather than stderr. Reported by Henry Jensen, fixes Debian Bug #639807. --- diff --git a/NEWS b/NEWS index c2bf377b..a90d79ba 100644 --- a/NEWS +++ b/NEWS @@ -107,6 +107,8 @@ NOTE THIS IS AN ALPHA RELEASE THAT HAS NOT BEEN THOROUGHLY TESTED! Workaround for older releases: do not use mimedecode feature. * Fetchmail now detects singly-quoted % expansions in the mda option and refuses to deliver for safety reasons. Fixes Debian Bug#347909. +* The Server certificate: message in verbose mode now appears on stdout like the + remainder of the output. Reported by Henry Jensen, to fix Debian Bug #639807. # CHANGES * A foreground fetchmail can now accept a few more options while another copy is diff --git a/socket.c b/socket.c index 2d6e2976..62fe9cbd 100644 --- a/socket.c +++ b/socket.c @@ -536,7 +536,7 @@ static int SSL_verify_callback( int ok_return, X509_STORE_CTX *ctx, int strict ) if (outlevel >= O_VERBOSE) { if (depth == 0 && SSLverbose) - report(stderr, GT_("Server certificate:\n")); + report(stdout, GT_("Server certificate:\n")); else { if (_firstrun) { _firstrun = 0;