Commit f1f5c70a authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

fix handling of "automatic" in file mode

parent 0090a686
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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)