[Openvpn-devel] options: remove --key-method from usage message

Message ID 20230525144657.40732-1-frank@lichtenheld.com
State Accepted
Headers show
Series [Openvpn-devel] options: remove --key-method from usage message | expand

Commit Message

Frank Lichtenheld May 25, 2023, 2:46 p.m. UTC
Commit 36bef1b52b49ebbc3790635be230e2f30f0532a7 removed
the option but did not delete it from usage text.

Change-Id: I68d3c90c2bdf6f426a9eef81f852fcae2ea47ce9
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
 src/openvpn/options.c | 2 --
 1 file changed, 2 deletions(-)


Gert Doering May 27, 2023, 7:33 a.m. UTC | #1
Acked-by: Gert Doering <gert@greenie.muc.de>

"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 <frank@lichtenheld.com>
     Acked-by: Gert Doering <gert@greenie.muc.de>
     Message-Id: <20230525144657.40732-1-frank@lichtenheld.com>
     URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26726.html
     Signed-off-by: Gert Doering <gert@greenie.muc.de>

kind regards,

Gert Doering


diff --git a/src/openvpn/options.c b/src/openvpn/options.c
index 26337680..117660b0 100644
--- a/src/openvpn/options.c
+++ b/src/openvpn/options.c
@@ -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"