]> 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 11:42:48 +0000 (12:42 +0100)
commitf5febf7f8998e425afb051cd6f965f4dd40b1659
tree6108f665dc72651bf995bc194e0e0a59f8ba16b0
parent67bef0357280040b83f2185c91c4f830ba542d6b
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>
src/openvpn/dco.c