提交 f1f5c70a 编写于 作者: D Dr. Stephen Henson

fix handling of "automatic" in file mode

上级 0090a686
......@@ -272,7 +272,12 @@ static int cmd_ecdhparam(SSL_CONF_CTX *cctx, const char *value)
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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册