Fixed some typos, courtesy of codespell
This commit is contained in:
@@ -38,7 +38,7 @@ struct certexpire_cron_t {
|
||||
/**
|
||||
* Destroy a certexpire_cron_t.
|
||||
*
|
||||
* It currently is not possible to savely cancel a cron job. Make sure
|
||||
* It currently is not possible to safely cancel a cron job. Make sure
|
||||
* any scheduled jobs have been canceled before cleaning up.
|
||||
*/
|
||||
void (*destroy)(certexpire_cron_t *this);
|
||||
|
||||
@@ -92,7 +92,7 @@ static void destroy_attr(attr_t *this)
|
||||
* Hashtable entry with leases and attributes
|
||||
*/
|
||||
typedef struct {
|
||||
/** IKE_SA uniqe id we assign the IP lease */
|
||||
/** IKE_SA unique id we assign the IP lease */
|
||||
uintptr_t id;
|
||||
/** list of IP leases received from AAA, as host_t */
|
||||
linked_list_t *addrs;
|
||||
|
||||
@@ -72,7 +72,7 @@ struct private_eap_radius_xauth_t {
|
||||
xauth_round_t round;
|
||||
|
||||
/**
|
||||
* Concatentated password of all rounds
|
||||
* Concatenated password of all rounds
|
||||
*/
|
||||
chunk_t pass;
|
||||
};
|
||||
|
||||
@@ -335,7 +335,7 @@ METHOD(listener_t, message_hook, bool,
|
||||
chunk_t iv;
|
||||
|
||||
/* we need the last block (or expected next IV) of Phase 1, which gets
|
||||
* upated after successful en-/decryption depending on direction */
|
||||
* updated after successful en-/decryption depending on direction */
|
||||
if (incoming == plain)
|
||||
{
|
||||
if (message->get_message_id(message) == 0)
|
||||
|
||||
@@ -1982,7 +1982,7 @@ METHOD(kernel_ipsec_t, get_spi, status_t,
|
||||
private_kernel_wfp_ipsec_t *this, host_t *src, host_t *dst,
|
||||
uint8_t protocol, uint32_t *spi)
|
||||
{
|
||||
/* To avoid sequencial SPIs, we use a one-to-one permuation function on
|
||||
/* To avoid sequential SPIs, we use a one-to-one permutation function on
|
||||
* an incrementing counter, that is a full period PRNG for the range we
|
||||
* allocate SPIs in. We add some randomness using a fixed XOR and start
|
||||
* the counter at random position. This is not cryptographically safe,
|
||||
|
||||
@@ -33,7 +33,7 @@ struct private_lookip_plugin_t {
|
||||
lookip_plugin_t public;
|
||||
|
||||
/**
|
||||
* Listener collecting virtual IP assignements
|
||||
* Listener collecting virtual IP assignments
|
||||
*/
|
||||
lookip_listener_t *listener;
|
||||
|
||||
|
||||
@@ -150,7 +150,7 @@ static bool manage_dns(private_osx_attr_handler_t *this,
|
||||
if (add)
|
||||
{
|
||||
if (!this->append && !this->original)
|
||||
{ /* backup orignal config, start with empty set */
|
||||
{ /* backup original config, start with empty set */
|
||||
this->original = arr;
|
||||
arr = CFArrayCreateMutable(NULL, 0, &kCFTypeArrayCallBacks);
|
||||
}
|
||||
|
||||
@@ -519,7 +519,7 @@ static auth_cfg_t *build_auth_cfg(private_stroke_config_t *this,
|
||||
enumerator->destroy(enumerator);
|
||||
}
|
||||
|
||||
/* authentication metod (class, actually) */
|
||||
/* authentication method (class, actually) */
|
||||
if (strpfx(auth, "ike:") ||
|
||||
strpfx(auth, "pubkey") ||
|
||||
strpfx(auth, "rsa") ||
|
||||
|
||||
@@ -693,7 +693,7 @@ METHOD(stroke_list_t, status, void,
|
||||
|
||||
/**
|
||||
* create a unique certificate list without duplicates
|
||||
* certicates having the same issuer are grouped together.
|
||||
* certificates having the same issuer are grouped together.
|
||||
*/
|
||||
static linked_list_t* create_unique_cert_list(certificate_type_t type)
|
||||
{
|
||||
|
||||
@@ -112,7 +112,7 @@ METHOD(uci_parser_t, create_section_enumerator, enumerator_t*,
|
||||
va_list args;
|
||||
int i;
|
||||
|
||||
/* allocate enumerator large enought to hold keyword pointers */
|
||||
/* allocate enumerator large enough to hold keyword pointers */
|
||||
i = 1;
|
||||
va_start(args, this);
|
||||
while (va_arg(args, char*))
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
* thread pool.
|
||||
*
|
||||
* Connecting requires an uri, which is currently either a UNIX socket path
|
||||
* prefixed with unix://, or a hostname:port touple prefixed with tcp://.
|
||||
* prefixed with unix://, or a hostname:port tuple prefixed with tcp://.
|
||||
* Passing NULL takes the system default socket path.
|
||||
*
|
||||
* After the connection has been established, request messages can be sent.
|
||||
|
||||
Reference in New Issue
Block a user