changeset 9324:9c6597ba9e3e HEAD

Fixed compiling without OpenSSL.
author Timo Sirainen <tss@iki.fi>
date Mon, 18 May 2009 14:01:23 -0400
parents ca39cedd796e
children c96abc68b115
files src/login-common/ssl-proxy.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 /* 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_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 @@
 	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 "";
 }