Skip to contentSkip to conversation

options: remove --key-method from usage message

PATCH In review Frank Lichtenheld 2 participants 2 messages May 25, 2023 – May 27, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 options: remove --key-method from usage message

Commit 36bef1b52b49ebbc3790635be230e2f30f0532a7 removed the option but did not delete it from usage text.

Change-Id I68d3c90c2bdf6f426a9eef81f852fcae2ea47ce9
---
 src/openvpn/options.c | 2 --
 1 file changed, 2 deletions(-)
src/openvpn/options.c +0 -2
index 26337680..117660b0 100644
@@ -567,8 +567,6 @@ static const char usage_message[] =
     "(These options are meaningful only for TLS-mode)\n"
     "--tls-server    : Enable TLS and assume server role during TLS handshake.\n"
     "--tls-client    : Enable TLS and assume client role during TLS handshake.\n"
-    "--key-method m  : (DEPRECATED) Data channel key exchange method.  m should be a method\n"
-    "                  number, such as 1 (default), 2, etc.\n"
     "--ca file       : Certificate authority file in .pem format containing\n"
     "                  root certificate.\n"
 #ifndef ENABLE_CRYPTO_MBEDTLS
Signature · 1 line
2.34.1
Acked-by on v1 1/1
#1 lore raw

"Because it makes sense". Compile tested.

Your patch has been applied to the master and release/2.6 branch.

commit e8a026ac770592670b0dcf8f81cee6a98b4b4f65 (master) commit 763cf2acdd6954e5e92117996c239fe890ef8996 (release/2.6)

Author: Frank Lichtenheld
Date:   Thu May 25 16:46:57 2023 +0200
     options: remove --key-method from usage message

     Signed-off-by: Frank Lichtenheld <[email protected]...>
     Acked-by: Gert Doering <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg26726.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering