]> git.ipfire.org Git - thirdparty/openvpn.git/commit
options.c: update usage description of --cipher
authorFrank Lichtenheld <frank@lichtenheld.com>
Wed, 28 Dec 2022 17:13:14 +0000 (18:13 +0100)
committerGert Doering <gert@greenie.muc.de>
Wed, 28 Dec 2022 21:44:42 +0000 (22:44 +0100)
commit4410daac5af8be778cb2dd2d45a44b5e67938496
treea402a0602860f7216ee6dcf6ff79933582d55d10
parent24fc4ce25432a42170477f21133bb0f25a8a860d
options.c: update usage description of --cipher

GCC with -O3 complains:
warning: ā€˜%s’ directive argument is null [-Wformat-overflow=]

And indeed:
--cipher alg    : Encrypt packets with cipher algorithm alg
                  (default=(null)).

Since there is no real default anymore, remove it.
While here also indicate the somewhat-deprecated status
of the option.

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20221228171314.133115-1-frank@lichtenheld.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg25851.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/options.c