]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Avoid sending --cipher to clients not supporting NCP
authorArne Schwabe <arne@rfc2549.org>
Fri, 17 Jul 2020 13:47:37 +0000 (15:47 +0200)
committerGert Doering <gert@greenie.muc.de>
Wed, 22 Jul 2020 06:58:59 +0000 (08:58 +0200)
commit4b59e2644a978074f0eed492d6541ba7b30b01a7
tree37a1a6ec80458ad61ef0a0e7eb82f07613870c93
parente6c86b24dbe8b001dfc8b9e9c4fad95e0f5973d4
Avoid sending --cipher to clients not supporting NCP

The NCP rework introduced a regression of sending a --cipher
command as part of the push message when the client does not
support NCP. This is is more a cosmetic issue since the client
will log that as warning in the log and ignore it.

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