Fixed some typos, courtesy of codespell
This commit is contained in:
@@ -311,7 +311,7 @@ static void save_auth_cfg(private_phase1_t *this,
|
||||
return;
|
||||
}
|
||||
auth = auth_cfg_create();
|
||||
/* for local config, we _copy_ entires from the config, as it contains
|
||||
/* for local config, we _copy_ entries from the config, as it contains
|
||||
* certificates we must send later. */
|
||||
auth->merge(auth, this->ike_sa->get_auth_cfg(this->ike_sa, local), local);
|
||||
this->ike_sa->add_auth_cfg(this->ike_sa, local, auth);
|
||||
|
||||
@@ -59,7 +59,7 @@ struct private_isakmp_vendor_t {
|
||||
ike_sa_t *ike_sa;
|
||||
|
||||
/**
|
||||
* Are we the inititator of this task
|
||||
* Are we the initiator of this task
|
||||
*/
|
||||
bool initiator;
|
||||
|
||||
|
||||
@@ -109,7 +109,7 @@ struct private_task_manager_t {
|
||||
array_t *packets;
|
||||
|
||||
/**
|
||||
* type of the initated exchange
|
||||
* type of the initiated exchange
|
||||
*/
|
||||
exchange_type_t type;
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ struct ike_auth_lifetime_t {
|
||||
* Create a new TASK_IKE_AUTH_LIFETIME task.
|
||||
*
|
||||
* @param ike_sa IKE_SA this task works for
|
||||
* @param initiator TRUE if taks is initiated by us
|
||||
* @param initiator TRUE if task is initiated by us
|
||||
* @return ike_auth_lifetime task to handle by the task_manager
|
||||
*/
|
||||
ike_auth_lifetime_t *ike_auth_lifetime_create(ike_sa_t *ike_sa, bool initiator);
|
||||
|
||||
@@ -91,7 +91,7 @@ struct ike_mobike_t {
|
||||
* Create a new ike_mobike task.
|
||||
*
|
||||
* @param ike_sa IKE_SA this task works for
|
||||
* @param initiator TRUE if taks is initiated by us
|
||||
* @param initiator TRUE if task is initiated by us
|
||||
* @return ike_mobike task to handle by the task_manager
|
||||
*/
|
||||
ike_mobike_t *ike_mobike_create(ike_sa_t *ike_sa, bool initiator);
|
||||
|
||||
@@ -59,7 +59,7 @@ struct private_ike_vendor_t {
|
||||
ike_sa_t *ike_sa;
|
||||
|
||||
/**
|
||||
* Are we the inititator of this task
|
||||
* Are we the initiator of this task
|
||||
*/
|
||||
bool initiator;
|
||||
};
|
||||
|
||||
@@ -115,7 +115,7 @@ extern enum_name_t *task_type_names;
|
||||
/**
|
||||
* Interface for a task, an operation handled within exchanges.
|
||||
*
|
||||
* A task is an elemantary operation. It may be handled by a single or by
|
||||
* A task is an elementary operation. It may be handled by a single or by
|
||||
* multiple exchanges. An exchange may even complete multiple tasks.
|
||||
* A task has a build() and an process() operation. The build() operation
|
||||
* creates payloads and adds it to the message. The process() operation
|
||||
@@ -128,7 +128,7 @@ extern enum_name_t *task_type_names;
|
||||
* that the task completed, even when the task completed unsuccessfully. The
|
||||
* manager then removes the task from the list. A NEED_MORE is returned when
|
||||
* the task needs further build()/process() calls to complete, the manager
|
||||
* leaves the taks in the queue. A returned FAILED indicates a critical failure.
|
||||
* leaves the task in the queue. A returned FAILED indicates a critical failure.
|
||||
* The manager closes the IKE_SA whenever a task returns FAILED.
|
||||
*/
|
||||
struct task_t {
|
||||
@@ -180,7 +180,7 @@ struct task_t {
|
||||
* Migrate a task to a new IKE_SA.
|
||||
*
|
||||
* After migrating a task, it goes back to a state where it can be
|
||||
* used again to initate an exchange. This is useful when a task
|
||||
* used again to initiate an exchange. This is useful when a task
|
||||
* has to get migrated to a new IKE_SA.
|
||||
* A special usage is when a INVALID_KE_PAYLOAD is received. A call
|
||||
* to reset resets the task, but uses another DH group for the next
|
||||
|
||||
Reference in New Issue
Block a user