[dovecot-cvs] dovecot/src/login-common ssl-proxy-openssl.c, 1.37.2.10, 1.37.2.11
tss at dovecot.org
tss at dovecot.org
Sun Oct 15 23:07:11 UTC 2006
Update of /var/lib/cvs/dovecot/src/login-common
In directory talvi:/tmp/cvs-serv412/src/login-common
Modified Files:
Tag: branch_1_0
ssl-proxy-openssl.c
Log Message:
Updates to ssl_ca_file and ssl_username_from_cert comments in
dovecot-example.conf. Added better logging for "Invalid certificate". Patch
by HenkJan Wolthuis (hj wolthuis kaw nl)
Index: ssl-proxy-openssl.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/login-common/ssl-proxy-openssl.c,v
retrieving revision 1.37.2.10
retrieving revision 1.37.2.11
diff -u -d -r1.37.2.10 -r1.37.2.11
--- ssl-proxy-openssl.c 13 Oct 2006 20:06:43 -0000 1.37.2.10
+++ ssl-proxy-openssl.c 15 Oct 2006 22:07:09 -0000 1.37.2.11
@@ -632,7 +632,7 @@
(void)X509_NAME_oneline(subject, buf, sizeof(buf));
buf[sizeof(buf)-1] = '\0'; /* just in case.. */
if (!preverify_ok)
- i_info("Invalid certificate: %s", buf);
+ i_info("Invalid certificate: %s: %s", X509_verify_cert_error_string(ctx->error),buf);
else
i_info("Valid certificate: %s", buf);
}
More information about the dovecot-cvs
mailing list