Mercurial > dovecot > core-2.2
diff src/login-common/ssl-proxy.h @ 8302:0db37acdc59f HEAD
Login process: Log auth failure reasons better in disconnect message.
For example if client certs are required it now logs if the cert wasn't sent
or if the cert was invalid.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 19 Oct 2008 14:00:57 +0300 |
parents | 3917bf9cf311 |
children | 6324a79d3ee1 |
line wrap: on
line diff
--- a/src/login-common/ssl-proxy.h Sun Oct 19 13:32:01 2008 +0300 +++ b/src/login-common/ssl-proxy.h Sun Oct 19 14:00:57 2008 +0300 @@ -11,6 +11,7 @@ the given fd must be simply forgotten. */ int ssl_proxy_new(int fd, struct ip_addr *ip, struct ssl_proxy **proxy_r); bool ssl_proxy_has_valid_client_cert(const struct ssl_proxy *proxy) ATTR_PURE; +bool ssl_proxy_has_broken_client_cert(struct ssl_proxy *proxy); const char *ssl_proxy_get_peer_name(struct ssl_proxy *proxy); bool ssl_proxy_is_handshaked(const struct ssl_proxy *proxy) ATTR_PURE; const char *ssl_proxy_get_last_error(const struct ssl_proxy *proxy) ATTR_PURE;