[dovecot-cvs] dovecot/src/pop3-login client-authenticate.c, 1.26, 1.27

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


Update of /var/lib/cvs/dovecot/src/pop3-login
In directory talvi:/tmp/cvs-serv9478/pop3-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/pop3-login/client-authenticate.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- client-authenticate.c	22 Aug 2004 11:00:06 -0000	1.26
+++ client-authenticate.c	2 Sep 2004 19:18:15 -0000	1.27
@@ -119,6 +119,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