]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Remove --providers from --help output for Mbed TLS master
authorMax Fillinger <maximilian.fillinger@sentyron.com>
Wed, 22 Jul 2026 16:37:55 +0000 (18:37 +0200)
committerGert Doering <gert@greenie.muc.de>
Wed, 22 Jul 2026 20:46:53 +0000 (22:46 +0200)
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 <maximilian.fillinger@sentyron.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
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 <gert@greenie.muc.de>
src/openvpn/options.c

index 87218d47da18ebbabae2ab6e6c1d9660b2e7d5c3..24244313575079b67868dface98a9ae5c91b9c22 100644 (file)
@@ -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"