fix handling of "automatic" in file mode
diff --git a/ssl/ssl_conf.c b/ssl/ssl_conf.c index 2375473..940d5a8 100644 --- a/ssl/ssl_conf.c +++ b/ssl/ssl_conf.c
@@ -272,7 +272,12 @@ onoff = 0; value++; } - if (strcasecmp(value, "automatic")) + if (!strcasecmp(value, "automatic")) + { + if (onoff != -1) + onoff = 1; + } + else if (onoff != -1) return 0; } else if (cctx->flags & SSL_CONF_FLAG_CMDLINE)