aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-03-25 10:59:37 +0100
committerTobias Brunner <tobias@strongswan.org>2013-03-25 10:59:37 +0100
commitcf95d2926caf45c1d3647dc65bfb70ca1b207d4d (patch)
treedf35ab7865119b980916c5acf64e6625a8e6d7c6 /src
parent7e20062fdfd4546b65744ba6158ef08fd9abb917 (diff)
downloadstrongswan-cf95d2926caf45c1d3647dc65bfb70ca1b207d4d.tar.bz2
strongswan-cf95d2926caf45c1d3647dc65bfb70ca1b207d4d.tar.xz
Fixed some typos, courtesy of codespell
Diffstat (limited to 'src')
-rw-r--r--src/charon-tkm/src/tkm/tkm.h2
-rw-r--r--src/charon-tkm/src/tkm/tkm_chunk_map.h2
-rw-r--r--src/libcharon/plugins/eap_radius/eap_radius_provider.c4
-rw-r--r--src/libcharon/sa/ikev1/task_manager_v1.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/charon-tkm/src/tkm/tkm.h b/src/charon-tkm/src/tkm/tkm.h
index 7c711312b..fb5acd117 100644
--- a/src/charon-tkm/src/tkm/tkm.h
+++ b/src/charon-tkm/src/tkm/tkm.h
@@ -95,7 +95,7 @@ struct tkm_t {
/**
* Initialize trusted key manager, creates "tkm" instance.
*
- * @return FALSE if initialization error occured
+ * @return FALSE if initialization error occurred
*/
bool tkm_init();
diff --git a/src/charon-tkm/src/tkm/tkm_chunk_map.h b/src/charon-tkm/src/tkm/tkm_chunk_map.h
index 648257574..c183937c1 100644
--- a/src/charon-tkm/src/tkm/tkm_chunk_map.h
+++ b/src/charon-tkm/src/tkm/tkm_chunk_map.h
@@ -52,7 +52,7 @@ struct tkm_chunk_map_t {
/**
* Remove mapping for given chunk.
*
- * @param data data specifiying the mapping to remove
+ * @param data data specifying the mapping to remove
* @return TRUE if mapping was removed, FALSE otherwise
*/
bool (*remove)(tkm_chunk_map_t * const this, chunk_t *data);
diff --git a/src/libcharon/plugins/eap_radius/eap_radius_provider.c b/src/libcharon/plugins/eap_radius/eap_radius_provider.c
index 83fa83830..6087313b5 100644
--- a/src/libcharon/plugins/eap_radius/eap_radius_provider.c
+++ b/src/libcharon/plugins/eap_radius/eap_radius_provider.c
@@ -254,7 +254,7 @@ METHOD(listener_t, message_hook, bool,
message->get_exchange_type(message) == IKE_AUTH))
{
/* if the addresses have not been claimed yet, they won't. Release
- * these ressources. */
+ * these resources. */
release_unclaimed(this, ike_sa);
}
}
@@ -267,7 +267,7 @@ METHOD(listener_t, ike_updown, bool,
if (!up)
{
/* if the message hook does not apply because of a failed exchange
- * or something, make sure we release any ressources now */
+ * or something, make sure we release any resources now */
release_unclaimed(this, ike_sa);
}
return TRUE;
diff --git a/src/libcharon/sa/ikev1/task_manager_v1.c b/src/libcharon/sa/ikev1/task_manager_v1.c
index 20629a05e..709033cb5 100644
--- a/src/libcharon/sa/ikev1/task_manager_v1.c
+++ b/src/libcharon/sa/ikev1/task_manager_v1.c
@@ -1490,7 +1490,7 @@ METHOD(task_manager_t, process_message, status_t,
return SUCCESS;
}
- /* reject Main/Agressive Modes once established */
+ /* reject Main/Aggressive Modes once established */
if (msg->get_exchange_type(msg) == ID_PROT ||
msg->get_exchange_type(msg) == AGGRESSIVE)
{