Fixed some typos, courtesy of codespell
This commit is contained in:
@@ -195,7 +195,7 @@ struct linked_list_t {
|
||||
* If a linked list contains objects with function pointers,
|
||||
* invoke() can call a method on each of the objects. The
|
||||
* method is specified by an offset of the function pointer,
|
||||
* which can be evalutated at compile time using the offsetof
|
||||
* which can be evaluated at compile time using the offsetof
|
||||
* macro, e.g.: list->invoke(list, offsetof(object_t, method));
|
||||
*
|
||||
* @param offset offset of the method to invoke on objects
|
||||
|
||||
@@ -737,8 +737,8 @@ METHOD(auth_cfg_t, add_pubkey_constraints, void,
|
||||
}
|
||||
enumerator->destroy(enumerator);
|
||||
|
||||
/* if no explicit IKE signature contraints were added we add them for all
|
||||
* configured signature contraints */
|
||||
/* if no explicit IKE signature constraints were added we add them for all
|
||||
* configured signature constraints */
|
||||
if (ike && !ike_added &&
|
||||
lib->settings->get_bool(lib->settings,
|
||||
"%s.signature_authentication_constraints", TRUE,
|
||||
|
||||
@@ -39,7 +39,7 @@ struct private_cred_encoding_t {
|
||||
hashtable_t *cache[CRED_ENCODING_MAX];
|
||||
|
||||
/**
|
||||
* Registered encoding fuctions, cred_encoder_t
|
||||
* Registered encoding functions, cred_encoder_t
|
||||
*/
|
||||
linked_list_t *encoders;
|
||||
|
||||
|
||||
@@ -239,7 +239,7 @@ METHOD(cert_cache_t, issued_by, bool,
|
||||
}
|
||||
|
||||
/**
|
||||
* certificate enumerator implemenation
|
||||
* certificate enumerator implementation
|
||||
*/
|
||||
typedef struct {
|
||||
/** implements enumerator_t interface */
|
||||
|
||||
@@ -697,7 +697,7 @@ int proposal_printf_hook(printf_hook_data_t *data, printf_hook_spec_t *spec,
|
||||
{
|
||||
enumerator = list->create_enumerator(list);
|
||||
while (enumerator->enumerate(enumerator, &this))
|
||||
{ /* call recursivly */
|
||||
{ /* call recursively */
|
||||
if (first)
|
||||
{
|
||||
written += print_in_hook(data, "%P", this);
|
||||
|
||||
@@ -5,7 +5,7 @@ This package is an Blowfish implementation written
|
||||
by Eric Young ([email protected]).
|
||||
|
||||
This library is free for commercial and non-commercial use as long as
|
||||
the following conditions are aheared to. The following conditions
|
||||
the following conditions are adhered to. The following conditions
|
||||
apply to all code found in this distribution.
|
||||
|
||||
Copyright remains Eric Young's, and as such any Copyright notices in
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* The implementation was written so as to conform with Netscapes SSL.
|
||||
*
|
||||
* This library is free for commercial and non-commercial use as long as
|
||||
* the following conditions are aheared to. The following conditions
|
||||
* the following conditions are adhered to. The following conditions
|
||||
* apply to all code found in this distribution, be it the RC4, RSA,
|
||||
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
|
||||
* included with this distribution is covered by the same copyright terms
|
||||
@@ -32,7 +32,7 @@
|
||||
* must display the following acknowledgement:
|
||||
* "This product includes cryptographic software written by
|
||||
* Eric Young ([email protected])"
|
||||
* The word 'cryptographic' can be left out if the rouines from the library
|
||||
* The word 'cryptographic' can be left out if the routines from the library
|
||||
* being used are not cryptographic related :-).
|
||||
* 4. If you include any Windows specific code (or a derivative thereof) from
|
||||
* the apps directory (application code) you must include an acknowledgement:
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* The implementation was written so as to conform with Netscapes SSL.
|
||||
*
|
||||
* This library is free for commercial and non-commercial use as long as
|
||||
* the following conditions are aheared to. The following conditions
|
||||
* the following conditions are adhered to. The following conditions
|
||||
* apply to all code found in this distribution, be it the RC4, RSA,
|
||||
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
|
||||
* included with this distribution is covered by the same copyright terms
|
||||
@@ -32,7 +32,7 @@
|
||||
* must display the following acknowledgement:
|
||||
* "This product includes cryptographic software written by
|
||||
* Eric Young ([email protected])"
|
||||
* The word 'cryptographic' can be left out if the rouines from the library
|
||||
* The word 'cryptographic' can be left out if the routines from the library
|
||||
* being used are not cryptographic related :-).
|
||||
* 4. If you include any Windows specific code (or a derivative thereof) from
|
||||
* the apps directory (application code) you must include an acknowledgement:
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* The implementation was written so as to conform with Netscapes SSL.
|
||||
*
|
||||
* This library is free for commercial and non-commercial use as long as
|
||||
* the following conditions are aheared to. The following conditions
|
||||
* the following conditions are adhered to. The following conditions
|
||||
* apply to all code found in this distribution, be it the RC4, RSA,
|
||||
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
|
||||
* included with this distribution is covered by the same copyright terms
|
||||
@@ -32,7 +32,7 @@
|
||||
* must display the following acknowledgement:
|
||||
* "This product includes cryptographic software written by
|
||||
* Eric Young ([email protected])"
|
||||
* The word 'cryptographic' can be left out if the rouines from the library
|
||||
* The word 'cryptographic' can be left out if the routines from the library
|
||||
* being used are not cryptographic related :-).
|
||||
* 4. If you include any Windows specific code (or a derivative thereof) from
|
||||
* the apps directory (application code) you must include an acknowledgement:
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* The implementation was written so as to conform with Netscapes SSL.
|
||||
*
|
||||
* This library is free for commercial and non-commercial use as long as
|
||||
* the following conditions are aheared to. The following conditions
|
||||
* the following conditions are adhered to. The following conditions
|
||||
* apply to all code found in this distribution, be it the RC4, RSA,
|
||||
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
|
||||
* included with this distribution is covered by the same copyright terms
|
||||
@@ -32,7 +32,7 @@
|
||||
* must display the following acknowledgement:
|
||||
* "This product includes cryptographic software written by
|
||||
* Eric Young ([email protected])"
|
||||
* The word 'cryptographic' can be left out if the rouines from the library
|
||||
* The word 'cryptographic' can be left out if the routines from the library
|
||||
* being used are not cryptographic related :-).
|
||||
* 4. If you include any Windows specific code (or a derivative thereof) from
|
||||
* the apps directory (application code) you must include an acknowledgement:
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* The implementation was written so as to conform with Netscapes SSL.
|
||||
*
|
||||
* This library is free for commercial and non-commercial use as long as
|
||||
* the following conditions are aheared to. The following conditions
|
||||
* the following conditions are adhered to. The following conditions
|
||||
* apply to all code found in this distribution, be it the RC4, RSA,
|
||||
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
|
||||
* included with this distribution is covered by the same copyright terms
|
||||
@@ -32,7 +32,7 @@
|
||||
* must display the following acknowledgement:
|
||||
* "This product includes cryptographic software written by
|
||||
* Eric Young ([email protected])"
|
||||
* The word 'cryptographic' can be left out if the rouines from the library
|
||||
* The word 'cryptographic' can be left out if the routines from the library
|
||||
* being used are not cryptographic related :-).
|
||||
* 4. If you include any Windows specific code (or a derivative thereof) from
|
||||
* the apps directory (application code) you must include an acknowledgement:
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* The implementation was written so as to conform with Netscapes SSL.
|
||||
*
|
||||
* This library is free for commercial and non-commercial use as long as
|
||||
* the following conditions are aheared to. The following conditions
|
||||
* the following conditions are adhered to. The following conditions
|
||||
* apply to all code found in this distribution, be it the RC4, RSA,
|
||||
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
|
||||
* included with this distribution is covered by the same copyright terms
|
||||
@@ -31,7 +31,7 @@
|
||||
* must display the following acknowledgement:
|
||||
* "This product includes cryptographic software written by
|
||||
* Eric Young ([email protected])"
|
||||
* The word 'cryptographic' can be left out if the rouines from the library
|
||||
* The word 'cryptographic' can be left out if the routines from the library
|
||||
* being used are not cryptographic related :-).
|
||||
* 4. If you include any Windows specific code (or a derivative thereof) from
|
||||
* the apps directory (application code) you must include an acknowledgement:
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* The implementation was written so as to conform with Netscapes SSL.
|
||||
*
|
||||
* This library is free for commercial and non-commercial use as long as
|
||||
* the following conditions are aheared to.
|
||||
* the following conditions are adhered to.
|
||||
*
|
||||
* Copyright remains Eric Young's, and as such any Copyright notices in
|
||||
* the code are not to be removed.
|
||||
@@ -34,7 +34,7 @@
|
||||
* must display the following acknowledgement:
|
||||
* "This product includes cryptographic software written by
|
||||
* Eric Young ([email protected])"
|
||||
* The word 'cryptographic' can be left out if the rouines from the library
|
||||
* The word 'cryptographic' can be left out if the routines from the library
|
||||
* being used are not cryptographic related :-).
|
||||
* 4. If you include any Windows specific code (or a derivative thereof) from
|
||||
* the apps directory (application code) you must include an acknowledgement:
|
||||
@@ -309,7 +309,7 @@ YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
|
||||
#endif
|
||||
|
||||
/* The changes to this macro may help or hinder, depending on the
|
||||
* compiler and the achitecture. gcc2 always seems to do well :-).
|
||||
* compiler and the architecture. gcc2 always seems to do well :-).
|
||||
* Inspired by Dana How <[email protected]>
|
||||
* DO NOT use the alternative version on machines with 8 byte longs.
|
||||
* It does not seem to work on the Alpha, even when DES_LONG is 4
|
||||
|
||||
@@ -246,7 +246,7 @@ static uint32_t* multiply_ntt_inv_poly(private_newhope_ke_t *this, uint32_t *b)
|
||||
}
|
||||
|
||||
/**
|
||||
* Pack four 2-bit coefficents into one byte
|
||||
* Pack four 2-bit coefficients into one byte
|
||||
*/
|
||||
static void pack_rec(private_newhope_ke_t *this, uint8_t *x, uint8_t *r)
|
||||
{
|
||||
|
||||
@@ -202,7 +202,7 @@ pkcs7_attributes_t *pkcs7_attributes_create(void)
|
||||
}
|
||||
|
||||
/**
|
||||
* ASN.1 definition of the X.501 atttribute type
|
||||
* ASN.1 definition of the X.501 attribute type
|
||||
*/
|
||||
static const asn1Object_t attributesObjects[] = {
|
||||
{ 0, "attributes", ASN1_SET, ASN1_LOOP }, /* 0 */
|
||||
|
||||
@@ -76,7 +76,7 @@ struct plugin_loader_t {
|
||||
* If \<ns>.load_modular is enabled (where \<ns> is lib->ns) the plugins to
|
||||
* load are determined via a load option in their respective plugin config
|
||||
* section e.g. \<ns>.plugins.\<plugin>.load = <priority|bool>.
|
||||
* The oder is determined by the configured priority. If two plugins have
|
||||
* The order is determined by the configured priority. If two plugins have
|
||||
* the same priority the order as seen in list is preserved. Plugins not
|
||||
* found in list are loaded first, in alphabetical order.
|
||||
*
|
||||
|
||||
@@ -45,7 +45,7 @@ typedef struct scheduler_t scheduler_t;
|
||||
* in-between got slower, as the number of events grew larger (O(n)).
|
||||
* For each connection there could be several events: IKE-rekey, NAT-keepalive,
|
||||
* retransmissions, expire (half-open), and others. So a gateway that probably
|
||||
* has to handle thousands of concurrent connnections has to be able to queue a
|
||||
* has to handle thousands of concurrent connections has to be able to queue a
|
||||
* large number of events as fast as possible. Locking makes this even worse, to
|
||||
* provide thread-safety, no events can be processed, while an event is queued,
|
||||
* so making the insertion fast is even more important.
|
||||
@@ -97,13 +97,13 @@ struct scheduler_t {
|
||||
void (*schedule_job_ms) (scheduler_t *this, job_t *job, uint32_t ms);
|
||||
|
||||
/**
|
||||
* Adds a event to the queue, using an absolut time.
|
||||
* Adds a event to the queue, using an absolute time.
|
||||
*
|
||||
* The passed timeval should be calculated based on the time_monotonic()
|
||||
* function.
|
||||
*
|
||||
* @param job job to schedule
|
||||
* @param time absolut time to schedule job
|
||||
* @param time absolute time to schedule job
|
||||
*/
|
||||
void (*schedule_job_tv) (scheduler_t *this, job_t *job, timeval_t tv);
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ typedef struct semaphore_t semaphore_t;
|
||||
* A semaphore is basically an integer whose value is never allowed to be
|
||||
* lower than 0. Two operations can be performed on it: increment the
|
||||
* value by one, and decrement the value by one. If the value is currently
|
||||
* zero, then the decrement operation will blcok until the value becomes
|
||||
* zero, then the decrement operation will block until the value becomes
|
||||
* greater than zero.
|
||||
*/
|
||||
struct semaphore_t {
|
||||
|
||||
@@ -478,7 +478,7 @@ chunk_t chunk_to_hex(chunk_t chunk, char *buf, bool uppercase)
|
||||
}
|
||||
|
||||
/**
|
||||
* convert a signle hex character to its binary value
|
||||
* convert a single hex character to its binary value
|
||||
*/
|
||||
static char hex2bin(char hex)
|
||||
{
|
||||
@@ -859,7 +859,7 @@ static inline uint64_t siplast(size_t len, u_char *pos)
|
||||
}
|
||||
|
||||
/**
|
||||
* Caculate SipHash-2-4 with an optional first block given as argument.
|
||||
* Calculate SipHash-2-4 with an optional first block given as argument.
|
||||
*/
|
||||
static uint64_t chunk_mac_inc(chunk_t chunk, u_char *key, uint64_t m)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user