[dovecot-cvs] dovecot/src/login-common ssl-proxy-openssl.c, 1.37.2.13, 1.37.2.14

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


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

Modified Files:
      Tag: branch_1_0
	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.37.2.13
retrieving revision 1.37.2.14
diff -u -d -r1.37.2.13 -r1.37.2.14
--- ssl-proxy-openssl.c	18 Nov 2006 20:27:12 -0000	1.37.2.13
+++ ssl-proxy-openssl.c	6 Apr 2007 09:29:59 -0000	1.37.2.14
@@ -742,6 +742,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