dovecot-1.2: verbose_ssl: Don't log SSL info messages with "BIO ...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Dec 17 05:50:55 EET 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/eecb23d78acf
changeset: 9514:eecb23d78acf
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 0342a6f137bd -r eecb23d78acf src/login-common/ssl-proxy-openssl.c
--- a/src/login-common/ssl-proxy-openssl.c Wed Dec 16 15:35:35 2009 -0500
+++ b/src/login-common/ssl-proxy-openssl.c Wed Dec 16 22:50:36 2009 -0500
@@ -733,8 +733,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