dovecot-2.2: lib-ssl-iostream: Fixed compiler warning when OpenS...

dovecot at dovecot.org dovecot at dovecot.org
Fri Dec 4 08:53:07 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/342e453c192d
changeset: 19456:342e453c192d
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Dec 04 10:52:52 2015 +0200
description:
lib-ssl-iostream: Fixed compiler warning when OpenSSL didn't support ECDH.

diffstat:

 src/lib-ssl-iostream/iostream-openssl-context.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 522ae1289d53 -r 342e453c192d src/lib-ssl-iostream/iostream-openssl-context.c
--- a/src/lib-ssl-iostream/iostream-openssl-context.c	Fri Dec 04 09:52:26 2015 +0200
+++ b/src/lib-ssl-iostream/iostream-openssl-context.c	Fri Dec 04 10:52:52 2015 +0200
@@ -395,7 +395,7 @@
 static int
 ssl_proxy_ctx_set_crypto_params(SSL_CTX *ssl_ctx,
 				const struct ssl_iostream_settings *set ATTR_UNUSED,
-				const char **error_r)
+				const char **error_r ATTR_UNUSED)
 {
 #if defined(HAVE_ECDH) && !defined(SSL_CTRL_SET_ECDH_AUTO)
 	EC_KEY *ecdh;


More information about the dovecot-cvs mailing list