]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Various typo fixes
authorFrank Lichtenheld <frank@lichtenheld.com>
Thu, 28 Nov 2024 12:30:16 +0000 (13:30 +0100)
committerGert Doering <gert@greenie.muc.de>
Thu, 28 Nov 2024 12:33:21 +0000 (13:33 +0100)
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 <frank@lichtenheld.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
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 <gert@greenie.muc.de>
(cherry picked from commit f626b661dba0838907f6ad3b46cb4db5f00d1c9a)

doc/man-sections/connection-profiles.rst
sample/sample-config-files/server.conf
src/openvpn/options.c

index c8816e10a8270a85cd48c363fe16861834091df9..eb0532f4952c8d9c45454927c23d53116272fcb1 100644 (file)
@@ -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
 ``<connection>`` and ``</connection>``, these options are handled as a
 group.
 
index 84c1bfea89b3e38e11961d86999f5748958a37ad..2f1962d719533528d22a7c1467f5f18633a76e00 100644 (file)
@@ -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).
index c16124e13f6877b302fd05605ace7e631f0fb2e7..d23c1797c4c5d065af245f7a87e5bfd182cc8cf0 100644 (file)
@@ -888,7 +888,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 */
@@ -2969,7 +2969,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)
             {
@@ -2998,7 +2998,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)