dovecot-2.0: Fixed compiling without OpenSSL.

dovecot at dovecot.org dovecot at dovecot.org
Mon May 18 21:01:29 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/9c6597ba9e3e
changeset: 9324:9c6597ba9e3e
user:      Timo Sirainen <tss at iki.fi>
date:      Mon May 18 14:01:23 2009 -0400
description:
Fixed compiling without OpenSSL.

diffstat:

1 file changed, 3 insertions(+), 1 deletion(-)
src/login-common/ssl-proxy.c |    4 +++-

diffs (28 lines):

diff -r ca39cedd796e -r 9c6597ba9e3e src/login-common/ssl-proxy.c
--- a/src/login-common/ssl-proxy.c	Mon May 18 13:16:55 2009 -0400
+++ b/src/login-common/ssl-proxy.c	Mon May 18 14:01:23 2009 -0400
@@ -10,6 +10,7 @@ bool ssl_initialized = FALSE;
 /* no SSL support */
 
 int ssl_proxy_new(int fd ATTR_UNUSED, const struct ip_addr *ip ATTR_UNUSED,
+		  const struct login_settings *set ATTR_UNUSED,
 		  struct ssl_proxy **proxy_r ATTR_UNUSED)
 {
 	i_error("Dovecot wasn't built with SSL support");
@@ -17,6 +18,7 @@ int ssl_proxy_new(int fd ATTR_UNUSED, co
 }
 
 int ssl_proxy_client_new(int fd ATTR_UNUSED, struct ip_addr *ip ATTR_UNUSED,
+			 const struct login_settings *set ATTR_UNUSED,
 			 ssl_handshake_callback_t *callback ATTR_UNUSED,
 			 void *context ATTR_UNUSED,
 			 struct ssl_proxy **proxy_r ATTR_UNUSED)
@@ -50,7 +52,7 @@ const char *ssl_proxy_get_last_error(con
 	return NULL;
 }
 
-const char *ssl_proxy_get_security_string(struct ssl_proxy *proxy)
+const char *ssl_proxy_get_security_string(struct ssl_proxy *proxy ATTR_UNUSED)
 {
 	return "";
 }


More information about the dovecot-cvs mailing list