]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Add a note that ncp-ciphers is replaced by data-ciphers
authorArne Schwabe <arne@rfc2549.org>
Fri, 24 Jul 2020 14:25:57 +0000 (16:25 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 27 Jul 2020 08:17:30 +0000 (10:17 +0200)
commit342f9b78f107530f67581d6247d38af0792e4243
tree25df9f5a720ec7a95036c624c6b79ce5db3f349a
parent30d19c6ebee05de4cc35155a6c7742ccbf021a82
Add a note that ncp-ciphers is replaced by data-ciphers

This patch adds a message that informs the user that the ncp-cipher
is renamed to data-ciphers. This should address the following concerns:

 - Users being confused by old options.
 - Nudge users to use the modern variant of an option

The man page already documents ncp-ciphers as an old name for
data-ciphers, so looking it up in the man page will also work.

Note that I did not add "deprecated old option" to this message
since I still think that eventually removing the option will only
break configs and we gain almost nothing from that.

Also still accepting the option even though we do not recommend usage of
it also follows the robustness principle of:
"be strict in what you send and tolerant in what you receive"

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20200724142557.25204-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg20573.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/options.c