]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Allow test-crypto to work without the --secret argument master
authorArne Schwabe <arne@rfc2549.org>
Fri, 19 Dec 2025 13:51:10 +0000 (14:51 +0100)
committerGert Doering <gert@greenie.muc.de>
Mon, 22 Dec 2025 12:09:24 +0000 (13:09 +0100)
commit927b45dde7d75a08150fbe33b49892861f006e7f
treefe49bfdf4752da1d74c7843fd074831211b9dd18
parent6db186e0b1d9783ea96e8a945a47fd23b45e4778
Allow test-crypto to work without the --secret argument

The --test-crypto still requires the --secret argument. Since --secret
will be removed in OpenVPN 2.8 but we want to keep test-crypt, remove
the dependency of test-crypto on --static.

Instead we will just generate a random key for this selftest method.
This also removes the extra logic that is a leftover from the early
multi-thread implementation attempt.

Change-Id: I72947bd4f0213fd118327f740daeb1d86ae166de
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1435
Message-Id: <20251219135110.166468-1-frank@lichtenheld.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg35157.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Changes.rst
doc/man-sections/generic-options.rst
src/openvpn/crypto.c
src/openvpn/crypto.h
src/openvpn/init.c
src/openvpn/init.h
src/openvpn/openvpn.c
src/openvpn/options.c
tests/t_lpback.sh