Fixed some typos, courtesy of codespell
This commit is contained in:
parent
c546c1ba71
commit
02b348403a
|
@ -1144,7 +1144,7 @@ keys are safe.
|
|||
|
||||
On a mobile laptop computer the situation is quite different. The computer can
|
||||
be stolen or the user may leave it unattended so that unauthorized persons
|
||||
can get access to it. In theses cases it would be preferable not to keep any
|
||||
can get access to it. In these cases it would be preferable not to keep any
|
||||
passphrases openly in `/etc/ipsec.secrets` but to prompt for them interactively
|
||||
instead. This is easily done by defining
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -53,7 +53,7 @@ struct pa_tnc_msg_t {
|
|||
/**
|
||||
* Add a PA-TNC attribute
|
||||
*
|
||||
* @param attr PA-TNC attribute to be addedd
|
||||
* @param attr PA-TNC attribute to be added
|
||||
* @return TRUE if attribute fit into message and was added
|
||||
*/
|
||||
bool (*add_attribute)(pa_tnc_msg_t *this, pa_tnc_attr_t* attr);
|
||||
|
|
|
@ -249,7 +249,7 @@ static status_t do_sasl(private_pt_tls_client_t *this, sasl_mechanism_t *sasl)
|
|||
case INVALID_STATE:
|
||||
break;
|
||||
case SUCCESS:
|
||||
/* shoudln't happen, continue until we get a result */
|
||||
/* shouldn't happen, continue until we get a result */
|
||||
case NEED_MORE:
|
||||
writer->write_data(writer, data);
|
||||
free(data.ptr);
|
||||
|
|
|
@ -50,7 +50,7 @@ typedef stream_t*(*stream_constructor_t)(char *uri);
|
|||
typedef bool (*stream_cb_t)(void *data, stream_t *stream);
|
||||
|
||||
/**
|
||||
* Abstraction of a Berkley socket using stream semantics.
|
||||
* Abstraction of a Berkeley socket using stream semantics.
|
||||
*/
|
||||
struct stream_t {
|
||||
|
||||
|
|
|
@ -333,7 +333,7 @@ METHOD(private_key_t, get_encoding, bool,
|
|||
int len;
|
||||
|
||||
/* n and d are of keysize length, p and q plus the three CRT
|
||||
* params roughtly half that, the version and e are small */
|
||||
* params roughly half that, the version and e are small */
|
||||
len = wc_RsaEncryptSize(&this->rsa) * 5 + MAX_SEQ_SZ;
|
||||
*encoding = chunk_alloc(len);
|
||||
len = wc_RsaKeyToDer(&this->rsa, encoding->ptr, len);
|
||||
|
|
|
@ -43,7 +43,7 @@ struct tnccs_batch_t {
|
|||
/**
|
||||
* Add TNCCS message
|
||||
*
|
||||
* @param msg TNCCS message to be addedd
|
||||
* @param msg TNCCS message to be added
|
||||
*/
|
||||
void (*add_msg)(tnccs_batch_t *this, tnccs_msg_t* msg);
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ struct pb_tnc_batch_t {
|
|||
/**
|
||||
* Add a PB-TNC Message
|
||||
*
|
||||
* @param msg PB-TNC message to be addedd
|
||||
* @param msg PB-TNC message to be added
|
||||
* @return TRUE if message fit into batch and was added
|
||||
*/
|
||||
bool (*add_msg)(pb_tnc_batch_t *this, pb_tnc_msg_t* msg);
|
||||
|
|
|
@ -464,7 +464,7 @@ jQuery.extend({
|
|||
elem.tagName && elem.ownerDocument && !elem.ownerDocument.body;
|
||||
},
|
||||
|
||||
// Evalulates a script in a global context
|
||||
// Evaluates a script in a global context
|
||||
// Evaluates Async. in Safari 2 :-(
|
||||
globalEval: function( data ) {
|
||||
data = jQuery.trim( data );
|
||||
|
|
Loading…
Reference in New Issue