Fixed some typos, courtesy of codespell

This commit is contained in:
Tobias Brunner
2019-04-29 15:09:20 +02:00
parent c546c1ba71
commit 02b348403a
14 changed files with 21 additions and 21 deletions
+8 -8
View File
@@ -138,7 +138,7 @@ enum encoding_type_t {
FLAG,
/**
* Representating a length field of a payload.
* Representing a length field of a payload.
*
* When generating it must be changed from host to network order.
* The value is read from the associated data struct.
@@ -151,7 +151,7 @@ enum encoding_type_t {
PAYLOAD_LENGTH,
/**
* Representating a length field of a header.
* Representing a length field of a header.
*
* When generating it must be changed from host to network order.
* The value is read from the associated data struct.
@@ -164,7 +164,7 @@ enum encoding_type_t {
HEADER_LENGTH,
/**
* Representating a spi size field.
* Representing a spi size field.
*
* When generating it must be changed from host to network order.
* The value is read from the associated data struct.
@@ -177,7 +177,7 @@ enum encoding_type_t {
SPI_SIZE,
/**
* Representating a spi field.
* Representing a spi field.
*
* When generating the content of the chunkt pointing to
* is written.
@@ -256,7 +256,7 @@ enum encoding_type_t {
ATTRIBUTE_VALUE,
/**
* Representating a Traffic selector type field.
* Representing a Traffic selector type field.
*
* When generating it must be changed from host to network order.
* The value is read from the associated data struct.
@@ -269,7 +269,7 @@ enum encoding_type_t {
TS_TYPE,
/**
* Representating an address field in a traffic selector.
* Representing an address field in a traffic selector.
*
* Depending on the last field of type TS_TYPE
* this field is either 4 or 16 byte long.
@@ -287,7 +287,7 @@ enum encoding_type_t {
CHUNK_DATA,
/**
* Representating an IKE_SPI field in an IKEv2 Header.
* Representing an IKE_SPI field in an IKEv2 Header.
*
* When generating the value of the uint64_t pointing to
* is written (host and networ order is not changed).
@@ -297,7 +297,7 @@ enum encoding_type_t {
IKE_SPI,
/**
* Representating an encrypted IKEv1 message.
* Representing an encrypted IKEv1 message.
*/
ENCRYPTED_DATA,
+1 -1
View File
@@ -188,7 +188,7 @@ enum payload_type_t {
PLV2_TS_INITIATOR = 44,
/**
* Traffic selector for the original responser (TSr).
* Traffic selector for the original responder (TSr).
*/
PLV2_TS_RESPONDER = 45,
@@ -615,7 +615,7 @@ static inline void encode_utf16le_single(chunk_t *utf16, uint16_t c)
/**
* Encode the given code point as UTF-16LE where utf16 points to and advance
* the position. Invalid code points are ingored.
* the position. Invalid code points are ignored.
*/
static inline void encode_utf16le(chunk_t *utf16, uint32_t c)
{
+1 -1
View File
@@ -474,7 +474,7 @@ static bool do_read(private_vici_socket_t *this, entry_t *entry,
}
/**
* Callback processing incoming requestes in strict order
* Callback processing incoming requests in strict order
*/
CALLBACK(process_queue, job_requeue_t,
entry_selector_t *sel)
+1 -1
View File
@@ -2560,7 +2560,7 @@ static bool is_current_path_valid(private_ike_sa_t *this)
}
/**
* Check if we have any path avialable for this IKE SA.
* Check if we have any path available for this IKE SA.
*/
static bool is_any_path_valid(private_ike_sa_t *this)
{
+1 -1
View File
@@ -360,7 +360,7 @@ END_TEST
/**
* Both peers initiate the IKE_SA rekeying concurrently but the proposed DH
* gropus are not the same. After handling the INVALID_KE_PAYLOAD they should
* groups are not the same. After handling the INVALID_KE_PAYLOAD they should
* still handle the collision properly depending on the nonces.
*/
START_TEST(test_collision_ke_invalid)