]> Pileus Git - ~andy/fetchmail/commitdiff
Print Server certificate: banner on stdout rather than stderr.
authorMatthias Andree <matthias.andree@gmx.de>
Tue, 30 Aug 2011 16:15:15 +0000 (18:15 +0200)
committerMatthias Andree <matthias.andree@gmx.de>
Tue, 30 Aug 2011 18:25:56 +0000 (20:25 +0200)
Reported by Henry Jensen, fixes Debian Bug #639807.

NEWS
socket.c

diff --git a/NEWS b/NEWS
index c2bf377bc9b70ea33cc3654994e777c608ed12c5..a90d79ba25f02e2609022519e14b7344102a6692 100644 (file)
--- 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
index 2d6e297672cd7ae097160a84188773b0bc5f8f57..62fe9cbd7b9543961ad778422e267eb6b1f260fa 100644 (file)
--- 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;