Skip to content

Commit

Permalink
Various typo fixes
Browse files Browse the repository at this point in the history
This collects some minor typo fixes that are not
worth each their own commit.

Fixes: #644
Fixes: #442

Change-Id: Ifad21a2841e97e910775f3618ddac1c483d74b65
Signed-off-by: Frank Lichtenheld <[email protected]>
Acked-by: Gert Doering <[email protected]>
Message-Id: <[email protected]>
URL: https://www.mail-archive.com/[email protected]/msg29956.html
Signed-off-by: Gert Doering <[email protected]>
(cherry picked from commit f626b66)
  • Loading branch information
flichtenheld authored and cron2 committed Nov 28, 2024
1 parent f104d00 commit 2776810
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion doc/man-sections/connection-profiles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion sample/sample-config-files/server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
6 changes: 3 additions & 3 deletions src/openvpn/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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)
{
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 2776810

Please sign in to comment.