From 1003cf23304da0819832137654cd9bab1fc3ff6a Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 22 Mar 2017 13:13:56 +0100 Subject: [PATCH] Fixed some typos, courtesy of codespell --- NEWS | 4 ++-- src/libcharon/daemon.h | 2 +- src/libcharon/plugins/vici/README.md | 2 +- src/libcharon/plugins/vici/vici_config.h | 2 +- src/libcharon/sa/child_sa.c | 2 +- src/libstrongswan/collections/linked_list.h | 2 +- src/libstrongswan/plugins/pkcs1/pkcs1_builder.c | 2 +- src/libtls/tls_fragmentation.c | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/NEWS b/NEWS index 7a88bee97..aed5ee1da 100644 --- a/NEWS +++ b/NEWS @@ -1397,7 +1397,7 @@ strongswan-4.3.5 correctly if the system time changes (e.g. when using NTP). - In addition to time based rekeying, charon supports IPsec SA lifetimes based - on processed volume or number of packets. They new ipsec.conf paramaters + on processed volume or number of packets. They new ipsec.conf parameters 'lifetime' (an alias to 'keylife'), 'lifebytes' and 'lifepackets' handle SA timeouts, while the parameters 'margintime' (an alias to rekeymargin), 'marginbytes' and 'marginpackets' trigger the rekeying before a SA expires. @@ -1625,7 +1625,7 @@ strongswan-4.2.10 counterparts with better lookup times. - Better parallelization to run charon on multiple cores. Due to improved - ressource locking and other optimizations the daemon can take full + resource locking and other optimizations the daemon can take full advantage of 16 or even more cores. - The load-tester plugin can use a NULL Diffie-Hellman group and simulate diff --git a/src/libcharon/daemon.h b/src/libcharon/daemon.h index 3d6910589..a37a3148a 100644 --- a/src/libcharon/daemon.h +++ b/src/libcharon/daemon.h @@ -169,7 +169,7 @@ * IKE_SA. * * The controller, credential_manager, bus and backend_manager (config) are - * places where a plugin ca register itself to privide information or observe + * places where a plugin ca register itself to provide information or observe * and control the daemon. */ diff --git a/src/libcharon/plugins/vici/README.md b/src/libcharon/plugins/vici/README.md index 9e973b336..9bda949d0 100644 --- a/src/libcharon/plugins/vici/README.md +++ b/src/libcharon/plugins/vici/README.md @@ -258,7 +258,7 @@ Initiates an SA while streaming _control-log_ events. { child = - ike = + ike = timeout = init-limits = loglevel = diff --git a/src/libcharon/plugins/vici/vici_config.h b/src/libcharon/plugins/vici/vici_config.h index 0c237e7de..6bff41c31 100644 --- a/src/libcharon/plugins/vici/vici_config.h +++ b/src/libcharon/plugins/vici/vici_config.h @@ -38,7 +38,7 @@ typedef struct vici_config_t vici_config_t; struct vici_config_t { /** - * Implements a configuraiton backend. + * Implements a configuration backend. */ backend_t backend; diff --git a/src/libcharon/sa/child_sa.c b/src/libcharon/sa/child_sa.c index 9bd543345..b9dd59b07 100644 --- a/src/libcharon/sa/child_sa.c +++ b/src/libcharon/sa/child_sa.c @@ -1,5 +1,5 @@ /* - * Coypright (C) 2016 Andreas Steffen + * Copyright (C) 2016 Andreas Steffen * Copyright (C) 2006-2016 Tobias Brunner * Copyright (C) 2005-2008 Martin Willi * Copyright (C) 2006 Daniel Roethlisberger diff --git a/src/libstrongswan/collections/linked_list.h b/src/libstrongswan/collections/linked_list.h index 5edaa07aa..0b73079d3 100644 --- a/src/libstrongswan/collections/linked_list.h +++ b/src/libstrongswan/collections/linked_list.h @@ -212,7 +212,7 @@ struct linked_list_t { /** * Clones a list and its objects using the objects' clone method. * - * @param offset offset ot the objects clone function + * @param offset offset to the objects clone function * @return cloned list */ linked_list_t *(*clone_offset) (linked_list_t *this, size_t offset); diff --git a/src/libstrongswan/plugins/pkcs1/pkcs1_builder.c b/src/libstrongswan/plugins/pkcs1/pkcs1_builder.c index 97e0633e7..f64294783 100644 --- a/src/libstrongswan/plugins/pkcs1/pkcs1_builder.c +++ b/src/libstrongswan/plugins/pkcs1/pkcs1_builder.c @@ -266,7 +266,7 @@ end: * } * * While the parameters and publicKey fields are OPTIONAL, RFC 5915 says that - * paramaters MUST be included and publicKey SHOULD be. + * parameters MUST be included and publicKey SHOULD be. */ static bool is_ec_private_key(chunk_t blob) { diff --git a/src/libtls/tls_fragmentation.c b/src/libtls/tls_fragmentation.c index 3607aa3cb..7a963029d 100644 --- a/src/libtls/tls_fragmentation.c +++ b/src/libtls/tls_fragmentation.c @@ -329,7 +329,7 @@ static bool check_alerts(private_tls_fragmentation_t *this, chunk_t *data) } /** - * Build hanshake message + * Build handshake message */ static status_t build_handshake(private_tls_fragmentation_t *this) {