From 4b80a129999aceaeb429ebd703f618a51775d955 Mon Sep 17 00:00:00 2001 From: Max Fillinger Date: Wed, 22 Jul 2026 18:37:55 +0200 Subject: [PATCH] Remove --providers from --help output for Mbed TLS This option is OpenSSL-only. When used with Mbed TLS, it prints warnings and does not do anything. With this change, the option is still parsed, to ensure compatiblity of configurations, but it is removed from the --help text. Change-Id: I0f56ca69efae0ca376eb9eae064a893c8768188e Signed-off-by: Max Fillinger Acked-by: Gert Doering Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1799 Message-Id: <20260722163800.2474-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg37781.html Signed-off-by: Gert Doering --- src/openvpn/options.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openvpn/options.c b/src/openvpn/options.c index 87218d47d..242443135 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -606,7 +606,9 @@ static const char usage_message[] = " : Use --show-tls to see a list of supported TLS ciphers (suites).\n" "--tls-cert-profile p : Set the allowed certificate crypto algorithm profile\n" " (default=legacy).\n" +#ifndef ENABLE_CRYPTO_MBEDTLS "--providers l : A list l of OpenSSL providers to load.\n" +#endif "--tls-timeout n : Packet retransmit timeout on TLS control channel\n" " if no ACK from remote within n seconds (default=%d).\n" "--reneg-bytes n : Renegotiate data chan. key after n bytes sent and recvd.\n" -- 2.47.3