[dovecot-cvs] dovecot/src/imap-login client-authenticate.c, 1.24, 1.25

cras at dovecot.org cras at dovecot.org
Thu Sep 2 22:18:17 EEST 2004


Update of /var/lib/cvs/dovecot/src/imap-login
In directory talvi:/tmp/cvs-serv9478/imap-login

Modified Files:
	client-authenticate.c 
Log Message:
Tell dovecot-auth if SSL/TLS is enabled. Nothing can done with it yet
though.



Index: client-authenticate.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap-login/client-authenticate.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- client-authenticate.c	22 Aug 2004 11:00:05 -0000	1.24
+++ client-authenticate.c	2 Sep 2004 19:18:15 -0000	1.25
@@ -138,6 +138,8 @@
 	if (client->common.proxy != NULL &&
 	    ssl_proxy_has_valid_client_cert(client->common.proxy))
 		auth_flags |= AUTH_CLIENT_FLAG_SSL_VALID_CLIENT_CERT;
+	if (client->tls)
+		auth_flags |= AUTH_CLIENT_FLAG_SSL_ENABLED;
 	return auth_flags;
 }
 



More information about the dovecot-cvs mailing list