From: Frank Lichtenheld Date: Thu, 28 Nov 2024 12:30:16 +0000 (+0100) Subject: Various typo fixes X-Git-Tag: v2.7_alpha1~159 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f626b661dba0838907f6ad3b46cb4db5f00d1c9a;p=thirdparty%2Fopenvpn.git Various typo fixes This collects some minor typo fixes that are not worth each their own commit. Fixes: OpenVPN/openvpn#644 Fixes: OpenVPN/openvpn#442 Change-Id: Ifad21a2841e97e910775f3618ddac1c483d74b65 Signed-off-by: Frank Lichtenheld Acked-by: Gert Doering Message-Id: <20241128123016.10444-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg29956.html Signed-off-by: Gert Doering --- diff --git a/doc/man-sections/connection-profiles.rst b/doc/man-sections/connection-profiles.rst index 520bbefc..767ff3a3 100644 --- a/doc/man-sections/connection-profiles.rst +++ b/doc/man-sections/connection-profiles.rst @@ -6,7 +6,7 @@ it will attempt to connect against. But there are some configuration options which are related to specific ``--remote`` options. For these use cases, connection profiles are the solution. -By enacpulating the ``--remote`` option and related options within +By encapsulating the ``--remote`` option and related options within ```` and ````, these options are handled as a group. diff --git a/sample/sample-config-files/server.conf b/sample/sample-config-files/server.conf index 48716a09..f6d9e65f 100644 --- a/sample/sample-config-files/server.conf +++ b/sample/sample-config-files/server.conf @@ -199,7 +199,7 @@ ifconfig-pool-persist ipp.txt # all clients to redirect their default # network gateway through the VPN, causing # all IP traffic such as web browsing and -# and DNS lookups to go through the VPN +# DNS lookups to go through the VPN # (The OpenVPN server machine may need to NAT # or bridge the TUN/TAP interface to the internet # in order for this to work properly). diff --git a/src/openvpn/options.c b/src/openvpn/options.c index 043b2406..d8dd5180 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -879,7 +879,7 @@ init_options(struct options *o, const bool init_gc) o->pkcs11_pin_cache_period = -1; #endif /* ENABLE_PKCS11 */ -/* P2MP server context features */ + /* P2MP server context features */ o->auth_token_generate = false; /* Set default --tmp-dir */ @@ -2966,7 +2966,7 @@ options_postprocess_verify_ce(const struct options *options, if (options->pkcs12_file) { #ifdef ENABLE_CRYPTO_MBEDTLS - msg(M_USAGE, "Parameter --pkcs12 cannot be used with the mbed TLS version version of OpenVPN."); + msg(M_USAGE, "Parameter --pkcs12 cannot be used with the mbed TLS version of OpenVPN."); #else if (options->ca_path) { @@ -2995,7 +2995,7 @@ options_postprocess_verify_ce(const struct options *options, #ifdef ENABLE_CRYPTO_MBEDTLS if (options->ca_path) { - msg(M_USAGE, "Parameter --capath cannot be used with the mbed TLS version version of OpenVPN."); + msg(M_USAGE, "Parameter --capath cannot be used with the mbed TLS version of OpenVPN."); } #endif /* ifdef ENABLE_CRYPTO_MBEDTLS */ if (pull)