Fixed some typos, courtesy of codespell
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user