dovecot-2.1: lib-ssl-iostream: Fixed compiling when SSL is disab...

dovecot at dovecot.org dovecot at dovecot.org
Wed Sep 7 08:41:36 EEST 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/513802d016a0
changeset: 13412:513802d016a0
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Sep 07 08:41:25 2011 +0300
description:
lib-ssl-iostream: Fixed compiling when SSL is disabled.

diffstat:

 src/lib-ssl-iostream/iostream-ssl-none.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r fb03574ddd34 -r 513802d016a0 src/lib-ssl-iostream/iostream-ssl-none.c
--- a/src/lib-ssl-iostream/iostream-ssl-none.c	Wed Sep 07 08:40:41 2011 +0300
+++ b/src/lib-ssl-iostream/iostream-ssl-none.c	Wed Sep 07 08:41:25 2011 +0300
@@ -29,6 +29,7 @@
 bool ssl_iostream_is_handshaked(const struct ssl_iostream *ssl_io ATTR_UNUSED) { return FALSE; }
 bool ssl_iostream_has_valid_client_cert(const struct ssl_iostream *ssl_io ATTR_UNUSED) { return FALSE; }
 bool ssl_iostream_has_broken_client_cert(struct ssl_iostream *ssl_io ATTR_UNUSED) { return TRUE; }
+int ssl_iostream_cert_match_name(struct ssl_iostream *ssl_io ATTR_UNUSED, const char *name ATTR_UNUSED) { return -1; }
 const char *ssl_iostream_get_peer_name(struct ssl_iostream *ssl_io ATTR_UNUSED) { return NULL; }
 const char *ssl_iostream_get_security_string(struct ssl_iostream *ssl_io ATTR_UNUSED) { return NULL; }
 const char *ssl_iostream_get_last_error(struct ssl_iostream *ssl_io ATTR_UNUSED) { return NULL; }


More information about the dovecot-cvs mailing list