dovecot-2.2: lib-ssl-iostream: Allow commas also in ssl_protocol...

dovecot at dovecot.org dovecot at dovecot.org
Tue Oct 14 19:18:26 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/9ce9e00cc997
changeset: 17956:9ce9e00cc997
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Oct 14 12:17:36 2014 -0700
description:
lib-ssl-iostream: Allow commas also in ssl_protocols setting.

diffstat:

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

diffs (12 lines):

diff -r 93a3335ec0d5 -r 9ce9e00cc997 src/lib-ssl-iostream/iostream-openssl-common.c
--- a/src/lib-ssl-iostream/iostream-openssl-common.c	Tue Oct 14 12:14:14 2014 -0700
+++ b/src/lib-ssl-iostream/iostream-openssl-common.c	Tue Oct 14 12:17:36 2014 -0700
@@ -20,7 +20,7 @@
 	int proto, op = 0, include = 0, exclude = 0;
 	bool neg;
 
-	tmp = t_strsplit_spaces(protocols, " ");
+	tmp = t_strsplit_spaces(protocols, ", ");
 	for (; *tmp != NULL; tmp++) {
 		const char *name = *tmp;
 


More information about the dovecot-cvs mailing list