Fixed some typos, courtesy of codespell
This commit is contained in:
@@ -265,7 +265,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# Check if non-empty certficate already exists
|
# Check if non-empty certificate already exists
|
||||||
#
|
#
|
||||||
if [ -s $HOSTCERT ]
|
if [ -s $HOSTCERT ]
|
||||||
then
|
then
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Install the present and past CA certificates in the ldap_tls_cacertdir
|
# Install the present and past CA certificates in the ldap_tls_cacertdir
|
||||||
# directory defined by sssd.conf, folllowed by the execution of the
|
# directory defined by sssd.conf, followed by the execution of the
|
||||||
# openssl_rehash command in that directory so that the SSSD daemon can verify
|
# openssl_rehash command in that directory so that the SSSD daemon can verify
|
||||||
# the LDAP server certificate.
|
# the LDAP server certificate.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ RSA private key to use for authentication (if a password is required, it will
|
|||||||
be requested on demand). For other key types use \fI\-\-priv\fR.
|
be requested on demand). For other key types use \fI\-\-priv\fR.
|
||||||
.TP
|
.TP
|
||||||
.BI "\-\-priv " path
|
.BI "\-\-priv " path
|
||||||
Pivate key to use for authentication (if a password is required, it will
|
Private key to use for authentication (if a password is required, it will
|
||||||
be requested on demand).
|
be requested on demand).
|
||||||
.TP
|
.TP
|
||||||
.BI "\-\-p12 " path
|
.BI "\-\-p12 " path
|
||||||
|
|||||||
@@ -220,7 +220,7 @@ static void radius2queue(radius_message_t *message, linked_list_t *queue,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copy RADIUS attribute nofifies from IKE message to queue
|
* Copy RADIUS attribute notifies from IKE message to queue
|
||||||
*/
|
*/
|
||||||
static void ike2queue(message_t *message, linked_list_t *queue,
|
static void ike2queue(message_t *message, linked_list_t *queue,
|
||||||
linked_list_t *selector)
|
linked_list_t *selector)
|
||||||
|
|||||||
@@ -421,7 +421,7 @@ static bool install_route(private_kernel_libipsec_ipsec_t *this,
|
|||||||
bool ignore = FALSE;
|
bool ignore = FALSE;
|
||||||
int family;
|
int family;
|
||||||
|
|
||||||
/* ignore multi- and broadcast TS, othewise, install a route without
|
/* ignore multi- and broadcast TS, otherwise, install a route without
|
||||||
* preferred source IP to forward non-local traffic via TUN device */
|
* preferred source IP to forward non-local traffic via TUN device */
|
||||||
switch (src_ts->get_type(src_ts))
|
switch (src_ts->get_type(src_ts))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1613,7 +1613,7 @@ static bool add_hw_offload_sa(struct nlmsghdr *hdr, int buflen,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add a HW offload attribuet to the given policy-related message.
|
* Add a HW offload attribute to the given policy-related message.
|
||||||
*/
|
*/
|
||||||
static bool add_hw_offload_policy(struct nlmsghdr *hdr, int buflen,
|
static bool add_hw_offload_policy(struct nlmsghdr *hdr, int buflen,
|
||||||
policy_entry_t *policy,
|
policy_entry_t *policy,
|
||||||
|
|||||||
@@ -105,9 +105,9 @@ struct imv_swima_state_t {
|
|||||||
json_object* (*get_jrequest)(imv_swima_state_t *this);
|
json_object* (*get_jrequest)(imv_swima_state_t *this);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the number of still missing SW [ID] records or envents
|
* Set the number of still missing SW [ID] records or events
|
||||||
*
|
*
|
||||||
* @param count Number of missing SW [ID] records or envents
|
* @param count Number of missing SW [ID] records or events
|
||||||
*/
|
*/
|
||||||
void (*set_missing)(imv_swima_state_t *this, uint32_t count);
|
void (*set_missing)(imv_swima_state_t *this, uint32_t count);
|
||||||
|
|
||||||
|
|||||||
@@ -322,7 +322,7 @@ struct crypto_tester_t {
|
|||||||
*
|
*
|
||||||
* @param ke key exchange method to test
|
* @param ke key exchange method to test
|
||||||
* @param create constructor function for the key exchange method
|
* @param create constructor function for the key exchange method
|
||||||
* @param speed speeed test result, NULL to omit
|
* @param speed speed test result, NULL to omit
|
||||||
* @return TRUE if test passed
|
* @return TRUE if test passed
|
||||||
*/
|
*/
|
||||||
bool (*test_ke)(crypto_tester_t *this, key_exchange_method_t ke,
|
bool (*test_ke)(crypto_tester_t *this, key_exchange_method_t ke,
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ bool openssl_fingerprint(EVP_PKEY *key, cred_encoding_type_t type, chunk_t *fp);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Concatenates two bignums into a chunk, thereby enforcing the length of
|
* Concatenates two bignums into a chunk, thereby enforcing the length of
|
||||||
* a single BIGNUM, if necessary, by pre-pending it with zeros.
|
* a single BIGNUM, if necessary, by prepending it with zeros.
|
||||||
*
|
*
|
||||||
* Note: this function allocates memory for the chunk
|
* Note: this function allocates memory for the chunk
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ bool wolfssl_mp_split(chunk_t chunk, mp_int *a, mp_int *b);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Concatenates two integers into a chunk, thereby enforcing the length of
|
* Concatenates two integers into a chunk, thereby enforcing the length of
|
||||||
* a single integer, if necessary, by pre-pending it with zeros.
|
* a single integer, if necessary, by prepending it with zeros.
|
||||||
*
|
*
|
||||||
* Note: this function allocates memory for the chunk
|
* Note: this function allocates memory for the chunk
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ struct x509_ocsp_response_t {
|
|||||||
* Generate a X.509 OCSP response.
|
* Generate a X.509 OCSP response.
|
||||||
*
|
*
|
||||||
* The resulting builder accepts:
|
* The resulting builder accepts:
|
||||||
* BUILD_OCSP_STATUS: status from OCSP respnder
|
* BUILD_OCSP_STATUS: status from OCSP responder
|
||||||
* BUILD_OCSP_RESPONSES: enumerator over the list of OCSP single responses
|
* BUILD_OCSP_RESPONSES: enumerator over the list of OCSP single responses
|
||||||
* BUILD_NONCE: nonce extracted from the OCSP request
|
* BUILD_NONCE: nonce extracted from the OCSP request
|
||||||
* BUILD_SIGNING_CERT: certificate to create OCSP response signature
|
* BUILD_SIGNING_CERT: certificate to create OCSP response signature
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ chunk_t *chunk_map(char *path, bool wr);
|
|||||||
/**
|
/**
|
||||||
* munmap() a chunk previously mapped with chunk_map().
|
* munmap() a chunk previously mapped with chunk_map().
|
||||||
*
|
*
|
||||||
* When unmapping a writeable map, the return value should be checked to
|
* When unmapping a writable map, the return value should be checked to
|
||||||
* ensure changes landed on disk.
|
* ensure changes landed on disk.
|
||||||
*
|
*
|
||||||
* @param chunk pointer returned from chunk_map()
|
* @param chunk pointer returned from chunk_map()
|
||||||
@@ -146,7 +146,7 @@ bool chunk_unmap(chunk_t *chunk);
|
|||||||
*
|
*
|
||||||
* @note Writable maps (i.e. created with wr = TRUE) are NOT cleared.
|
* @note Writable maps (i.e. created with wr = TRUE) are NOT cleared.
|
||||||
*
|
*
|
||||||
* When unmapping a writeable map, the return value should be checked to
|
* When unmapping a writable map, the return value should be checked to
|
||||||
* ensure changes landed on disk.
|
* ensure changes landed on disk.
|
||||||
*
|
*
|
||||||
* @param chunk pointer returned from chunk_map()
|
* @param chunk pointer returned from chunk_map()
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ void utils_deinit();
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Address santizer support
|
* Address sanitizer support
|
||||||
*/
|
*/
|
||||||
#if __has_feature(address_sanitizer) || \
|
#if __has_feature(address_sanitizer) || \
|
||||||
(defined(__GNUC__) && defined(__SANITIZE_ADDRESS__))
|
(defined(__GNUC__) && defined(__SANITIZE_ADDRESS__))
|
||||||
|
|||||||
+1
-1
@@ -339,7 +339,7 @@ bool pki_cert_extract_cacerts(chunk_t data, char *caout, char *raout,
|
|||||||
}
|
}
|
||||||
certs->destroy(certs);
|
certs->destroy(certs);
|
||||||
|
|
||||||
/* otherwise trust in root CA has to be established manuallly */
|
/* otherwise trust in root CA has to be established manually */
|
||||||
if (!trusted)
|
if (!trusted)
|
||||||
{
|
{
|
||||||
creds->add_cert(creds, TRUE, cert->get_ref(cert));
|
creds->add_cert(creds, TRUE, cert->get_ref(cert));
|
||||||
|
|||||||
Reference in New Issue
Block a user