From e5c28185478ecab60d0dbd78f9daaab113d5c060 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Fri, 16 Apr 2010 18:24:34 +0300 Subject: [PATCH] config: Added support for parsing obsolete setting ssl_disable. --HG-- branch : HEAD --- src/config/old-set-parser.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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; -- 2.47.3