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:12:39 +0000 (09:12 +0100)
commitc5ed6c553a2efe7abf84ceed5fe38769621a3807
treeab30a60c602fa20fc509b1f87a4d2a6cd09a6a51
parent2172133d0dc58256bf776da074c0d1944fef15cb
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/6036)
doc/ssl/SSL_CONF_cmd.pod
ssl/ssl_conf.c