really fix automatic ;-)

This commit is contained in:
Dr. Stephen Henson 2012-12-07 12:41:13 +00:00
parent 65f2a56580
commit 1edf8f1b4e

View File

@ -274,7 +274,7 @@ static int cmd_ecdhparam(SSL_CONF_CTX *cctx, const char *value)
} }
if (!strcasecmp(value, "automatic")) if (!strcasecmp(value, "automatic"))
{ {
if (onoff != -1) if (onoff == -1)
onoff = 1; onoff = 1;
} }
else if (onoff != -1) else if (onoff != -1)