From: Max Fillinger Date: Wed, 22 Jul 2026 16:37:55 +0000 (+0200) Subject: Remove --providers from --help output for Mbed TLS X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=HEAD;p=thirdparty%2Fopenvpn.git 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 --- 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"