dovecot-2.0: verbose_ssl: Don't log SSL info messages with "BIO ...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Dec 17 05:50:45 EET 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/55baae8ed874
changeset: 10514:55baae8ed874
user: Timo Sirainen <tss at iki.fi>
date: Wed Dec 16 22:50:36 2009 -0500
description:
verbose_ssl: Don't log SSL info messages with "BIO failed" prefix.
diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
src/login-common/ssl-proxy-openssl.c | 6 +++++-
diffs (17 lines):
diff -r 43239594b65b -r 55baae8ed874 src/login-common/ssl-proxy-openssl.c
--- a/src/login-common/ssl-proxy-openssl.c Wed Dec 16 22:21:36 2009 -0500
+++ b/src/login-common/ssl-proxy-openssl.c Wed Dec 16 22:50:36 2009 -0500
@@ -806,8 +806,12 @@ static void ssl_info_callback(const SSL
where, ret, SSL_alert_type_string_long(ret),
SSL_alert_desc_string_long(ret),
net_ip2addr(&proxy->ip));
+ } else if (ret == 0) {
+ i_warning("SSL failed: where=0x%x: %s [%s]",
+ where, SSL_state_string_long(ssl),
+ net_ip2addr(&proxy->ip));
} else {
- i_warning("SSL BIO failed: where=0x%x, ret=%d: %s [%s]",
+ i_warning("SSL: where=0x%x, ret=%d: %s [%s]",
where, ret, SSL_state_string_long(ssl),
net_ip2addr(&proxy->ip));
}
More information about the dovecot-cvs
mailing list