Fixed some typos, courtesy of codespell
This commit is contained in:
1 parent
c87b16d256
commit
527b3f0ca5
15 files changed
+19
-19
No files matched your search
@@ -82,7 +82,7 @@ struct proposal_t {
|
||||
uint16_t alg, uint16_t key_size);
|
||||
|
||||
/**
|
||||
* Get an enumerator over algorithms for a specifc algo type.
|
||||
* Get an enumerator over algorithms for a specific algo type.
|
||||
*
|
||||
* @param type kind of algorithm
|
||||
* @return enumerator over uint16_t alg, uint16_t key_size
|
||||
|
||||
@@ -131,7 +131,7 @@ cert_payload_t *cert_payload_create_from_cert(payload_type_t type,
|
||||
/**
|
||||
* Creates an IKEv2 certificate payload with hash and URL encoding.
|
||||
*
|
||||
* @param hash hash of the DER encoded certificate (get's cloned)
|
||||
* @param hash hash of the DER encoded certificate (gets cloned)
|
||||
* @param url URL to the certificate
|
||||
* @return cert_payload_t object
|
||||
*/
|
||||
|
||||
@@ -441,7 +441,7 @@ eap_payload_t *eap_payload_create_nak(uint8_t identifier, eap_type_t type,
|
||||
added_any = TRUE;
|
||||
}
|
||||
else if (reg_vendor)
|
||||
{ /* found vendor specifc method, but this is not an expanded Nak */
|
||||
{ /* found vendor specific method, but this is not an expanded Nak */
|
||||
found_vendor = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@ static encoding_rule_t encodings[] = {
|
||||
{ RESERVED_BIT, offsetof(private_nonce_payload_t, reserved[6]) },
|
||||
/* Length of the whole nonce payload*/
|
||||
{ PAYLOAD_LENGTH, offsetof(private_nonce_payload_t, payload_length) },
|
||||
/* some nonce bytes, lenth is defined in PAYLOAD_LENGTH */
|
||||
/* some nonce bytes, length is defined in PAYLOAD_LENGTH */
|
||||
{ CHUNK_DATA, offsetof(private_nonce_payload_t, nonce) },
|
||||
};
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ transform_substructure_t *transform_substructure_create(payload_type_t type);
|
||||
*
|
||||
* @param type PLV2_TRANSFORM_SUBSTRUCTURE or PLV1_TRANSFORM_SUBSTRUCTURE
|
||||
* @param type_or_number Type (IKEv2) or number (IKEv1) of transform
|
||||
* @param id transform id specifc for the transform type
|
||||
* @param id transform id specific for the transform type
|
||||
* @return transform_substructure_t object
|
||||
*/
|
||||
transform_substructure_t *transform_substructure_create_type(payload_type_t type,
|
||||
|
||||
@@ -183,7 +183,7 @@ struct kernel_ipsec_query_policy_t {
|
||||
* Policy information are cached in the interface. This is necessary to do
|
||||
* reference counting. The Linux kernel does not allow the same policy
|
||||
* installed twice, but we need this as CHILD_SA exist multiple times
|
||||
* when rekeying. Thats why we do reference counting of policies.
|
||||
* when rekeying. That's why we do reference counting of policies.
|
||||
*/
|
||||
struct kernel_ipsec_t {
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ METHOD(plugin_t, get_name, char*,
|
||||
}
|
||||
|
||||
/**
|
||||
* Try to instanciate ea_aka_3gpp functions and card/provider backends
|
||||
* Try to instantiate ea_aka_3gpp functions and card/provider backends
|
||||
*/
|
||||
static bool register_functions(private_eap_aka_3gpp_t *this,
|
||||
plugin_feature_t *feature, bool reg, void *data)
|
||||
|
||||
@@ -55,7 +55,7 @@ METHOD(plugin_t, get_name, char*,
|
||||
}
|
||||
|
||||
/**
|
||||
* Try to instanciate 3gpp2 functions and card/provider backends
|
||||
* Try to instantiate 3gpp2 functions and card/provider backends
|
||||
*/
|
||||
static bool register_functions(private_eap_aka_3gpp2_t *this,
|
||||
plugin_feature_t *feature, bool reg, void *data)
|
||||
|
||||
@@ -1014,7 +1014,7 @@ struct ike_sa_t {
|
||||
/**
|
||||
* Rekey the IKE_SA.
|
||||
*
|
||||
* Sets up a new IKE_SA, moves all CHILDs to it and deletes this IKE_SA.
|
||||
* Sets up a new IKE_SA, moves all CHILD_SAs to it and deletes this IKE_SA.
|
||||
*
|
||||
* @return - SUCCESS, if IKE_SA rekeying initiated
|
||||
*/
|
||||
|
||||
@@ -131,7 +131,7 @@ struct private_task_manager_t {
|
||||
array_t *queued_tasks;
|
||||
|
||||
/**
|
||||
* Array of active tasks, initiated by ourselve
|
||||
* Array of active tasks, initiated by ourselves
|
||||
*/
|
||||
array_t *active_tasks;
|
||||
|
||||
|
||||
Reference in new issue
Block a user