]> git.ipfire.org Git - thirdparty/openvpn.git/commit
compat-mode: add --data-cipher-fallback auomatically if requested
authorAntonio Quartulli <a@unstable.cc>
Sat, 4 Sep 2021 09:56:27 +0000 (11:56 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 20 Sep 2021 15:23:38 +0000 (17:23 +0200)
commitcdef503b646087f9284b53e01c64988c98879c36
tree65e96a0c64f1f935df711859e8a2678e39a0ba87
parent65f6da8eeb84fbcea357765e13fa73d0169a143c
compat-mode: add --data-cipher-fallback auomatically if requested

For compatibility with OpenVPN older than 2.4.0, the
'--data-cipher-fallback' argument is automatically added with the same
value as specified by '--cipher'.

This happens only when the user specifies compat-mode with a version
older than 2.4.0.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <20210904095629.6273-6-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22798.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
doc/man-sections/generic-options.rst
src/openvpn/options.c