Improve backwards compat with 1.0.2 for ECDHParameters
authorMatt Caswell <matt@openssl.org>
Fri, 20 Apr 2018 13:12:11 +0000 (14:12 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 24 Apr 2018 08:09:43 +0000 (09:09 +0100)
commitededc88dd52029e4eb18b845703c8780e2d23c17
tree1fbd9b12f229be7abe935d7d686c0de876a95fae
parent7fcdbd839c629f5419a49bf8da28c968c8140c3d
Improve backwards compat with 1.0.2 for ECDHParameters

In 1.0.2 you could configure automatic ecdh params by using the
ECDHParameters config directive and setting it to the value
"+Automatic" or just "Automatic". This is no longer required in 1.1.0+
but we still recognise the "+Automatic" keyword for backwards compatibility.
However we did not recognise just "Automatic" without the leading "+" which
is equally valid. This commit fixes that omission.

Fixes #4113

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6035)
doc/man3/SSL_CONF_cmd.pod
ssl/ssl_conf.c