[dovecot-cvs] dovecot/src/login-common ssl-proxy-openssl.c, 1.55, 1.56

tss at dovecot.org tss at dovecot.org
Fri Apr 6 12:30:06 EEST 2007


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

Modified Files:
	ssl-proxy-openssl.c 
Log Message:
Send list of CA names to client when using ssl_verify_client_cert=yes.



Index: ssl-proxy-openssl.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/login-common/ssl-proxy-openssl.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- ssl-proxy-openssl.c	18 Mar 2007 02:51:19 -0000	1.55
+++ ssl-proxy-openssl.c	6 Apr 2007 09:30:03 -0000	1.56
@@ -756,6 +756,8 @@
 		SSL_CTX_set_verify(ssl_ctx, SSL_VERIFY_PEER |
 				   SSL_VERIFY_CLIENT_ONCE,
 				   ssl_verify_client_cert);
+		SSL_CTX_set_client_CA_list(ssl_ctx,
+					   SSL_load_client_CA_file(cafile));
 	}
 
 	/* PRNG initialization might want to use /dev/urandom, make sure it



More information about the dovecot-cvs mailing list