Fixed some typos, courtesy of codespell

This commit is contained in:
Tobias Brunner
2013-03-25 10:59:37 +01:00
parent 7e20062fdf
commit cf95d2926c
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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();
+1 -1
View File
@@ -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);
@@ -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;
+1 -1
View File
@@ -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)
{