]> git.ipfire.org Git - thirdparty/openvpn.git/commit
make --tls-remote compatible with pre 2.3 configs
authorHeiko Hund <heiko.hund@sophos.com>
Fri, 22 Feb 2013 09:44:21 +0000 (10:44 +0100)
committerGert Doering <gert@greenie.muc.de>
Thu, 7 Mar 2013 19:31:31 +0000 (20:31 +0100)
commit0f92b3b4170dab29aaf5cb4e6a0d00d37bf418b4
treefe045e5ab82db9c511447b3799177c752c31ac2e
parentc86d09c7c115eeda96ea0b2a400c3ce57bd90292
make --tls-remote compatible with pre 2.3 configs

In openvpn 2.3.0 the semantics of the --tls-remote option changed.
That broke more configurations than anticipated. To not break
configurations that use --tls-remote with a legacy OpenSSL style DN
anymore, it is now detected when such a DN is configured. When
necessary the --compat-names option is then automatically enabled.

Signed-off-by: Heiko Hund <heiko.hund@sophos.com>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: 1361526263-1740-3-git-send-email-heiko.hund@sophos.com
URL: http://article.gmane.org/gmane.network.openvpn.devel/7366
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit ad532bba896875e56488e69ec16212a77787c57b)
src/openvpn/options.c