[dovecot-cvs] dovecot/src/login-common ssl-proxy-openssl.c, 1.47, 1.48

tss at dovecot.org tss at dovecot.org
Sun Oct 15 23:07:14 UTC 2006


Update of /var/lib/cvs/dovecot/src/login-common
In directory talvi:/tmp/cvs-serv416/src/login-common

Modified Files:
	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.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- ssl-proxy-openssl.c	13 Oct 2006 20:06:46 -0000	1.47
+++ ssl-proxy-openssl.c	15 Oct 2006 22:07:12 -0000	1.48
@@ -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