dovecot-1.3: Fix to "SSL support not compiled in" error message.

dovecot at dovecot.org dovecot at dovecot.org
Mon Apr 13 23:01:47 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.3/rev/f6bbb5c6d57c
changeset: 9093:f6bbb5c6d57c
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Apr 13 16:01:40 2009 -0400
description:
Fix to "SSL support not compiled in" error message.

diffstat:

1 file changed, 2 insertions(+), 1 deletion(-)
src/login-common/login-settings.c |    3 ++-

diffs (13 lines):

diff -r e4832f128738 -r f6bbb5c6d57c src/login-common/login-settings.c
--- a/src/login-common/login-settings.c	Mon Apr 13 15:45:17 2009 -0400
+++ b/src/login-common/login-settings.c	Mon Apr 13 16:01:40 2009 -0400
@@ -100,7 +100,8 @@ static int ssl_settings_check(void *_set
 	struct login_settings *set = _set;
 
 #ifndef HAVE_SSL
-        *error_r = "SSL support not compiled in but ssl_disable=no";
+	*error_r = t_strdup_printf("SSL support not compiled in but ssl=%s",
+				   set->ssl);
 	return FALSE;
 #else
 	if (*set->ssl_cert_file == '\0') {


More information about the dovecot-cvs mailing list