]> git.ipfire.org Git - thirdparty/openvpn.git/commit
disable DCO if --secret is specified
authorAntonio Quartulli <a@unstable.cc>
Wed, 7 Dec 2022 10:02:01 +0000 (11:02 +0100)
committerGert Doering <gert@greenie.muc.de>
Wed, 7 Dec 2022 12:00:29 +0000 (13:00 +0100)
commit952a33a879ee106ee0877b872ad3d6c58983b521
tree857809aecc5836db12d8379833d1f46443a665ce
parent3e63dc9b184b17674dfea3cea7eb55ce15779fb2
disable DCO if --secret is specified

P2P mode with pre-shared key is deprecated, unsecure and should NOT be
used. This said we still carry it around for a bit and we have to make
sure it does not fight with DCO.

Disable DCO at all when --secret is specified.

Github: OpenVPN/openvpn#188

Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20221207100201.6467-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg25629.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit f5febf7f8998e425afb051cd6f965f4dd40b1659)
src/openvpn/dco.c