Mercurial > dovecot > core-2.2
diff src/login-common/ssl-proxy.h @ 2027:dc5d0da1abe9 HEAD
Added ssl_require_client_cert auth-specific setting. Hide
ssl_verify_client_cert from default config file as it's automatically set if
needed and there's not much point in forcing it.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 17 May 2004 04:32:16 +0300 |
parents | 2660b47fd9bc |
children | e2fe8222449d |
line wrap: on
line diff
--- a/src/login-common/ssl-proxy.h Mon May 17 02:29:27 2004 +0300 +++ b/src/login-common/ssl-proxy.h Mon May 17 04:32:16 2004 +0300 @@ -2,13 +2,16 @@ #define __SSL_PROXY_H struct ip_addr; +struct ssl_proxy; extern int ssl_initialized; /* establish SSL connection with the given fd, returns a new fd which you must use from now on, or -1 if error occured. Unless -1 is returned, the given fd must be simply forgotten. */ -int ssl_proxy_new(int fd, struct ip_addr *ip); +int ssl_proxy_new(int fd, struct ip_addr *ip, struct ssl_proxy **proxy_r); +int ssl_proxy_has_valid_client_cert(struct ssl_proxy *proxy); +void ssl_proxy_free(struct ssl_proxy *proxy); void ssl_proxy_init(void); void ssl_proxy_deinit(void);