From: Timo Sirainen Date: Fri, 16 Apr 2010 15:24:34 +0000 (+0300) Subject: config: Added support for parsing obsolete setting ssl_disable. X-Git-Tag: 2.0.beta5~106 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e5c28185478ecab60d0dbd78f9daaab113d5c060;p=thirdparty%2Fdovecot%2Fcore.git config: Added support for parsing obsolete setting ssl_disable. --HG-- branch : HEAD --- diff --git a/src/config/old-set-parser.c b/src/config/old-set-parser.c index 5b355a9e7c..ace45c85ea 100644 --- a/src/config/old-set-parser.c +++ b/src/config/old-set-parser.c @@ -122,6 +122,14 @@ old_settings_handle_root(struct config_parser_context *ctx, p, value); return TRUE; } + if (strcmp(key, "ssl_disable") == 0) { + if (strcasecmp(value, "yes") == 0) + value = "no"; + else if (strcasecmp(value, "no") == 0) + value = "yes"; + set_rename(ctx, key, "ssl", value); + return TRUE; + } if (strcmp(key, "dbox_rotate_size") == 0) { set_rename(ctx, key, "mdbox_rotate_size", value); return TRUE;