}
#ifndef SADB_X_EXT_NEW_ADDRESS_SRC
/* we can't update the SA if any of the ip addresses have changed.
- * that's because we can't use SADB_UPDATE and by deleting and readding the
+ * that's because we can't use SADB_UPDATE and by deleting and re-adding the
* SA the sequence numbers would get lost */
if (!id->src->ip_equals(id->src, data->new_src) ||
!id->dst->ip_equals(id->dst, data->new_dst))
/**
* Maximum jitter to apply to calculated timeout (in percent). A random
- * amount of value this will be subtracted from the calculated timeout.
+ * amount of that value will be subtracted from the calculated timeout.
*/
u_int jitter;
#include <collections/linked_list.h>
/**
- * Timeout in seconds for acquries for the same reqid (i.e. the interval used
+ * Timeout in seconds for acquires for the same reqid (i.e. the interval used
* to trigger acquires while no SA is established).
*/
#define ACQUIRE_TIMEOUT 10
if (openssl_asn1_known_oid(sig->algorithm) == OID_RSA_ENCRYPTION)
{
/* derive the signature scheme from the digest algorithm
- * for the classic PKCS#7 RSA mechansim */
+ * for the classic PKCS#7 RSA mechanism */
sig_alg.scheme = signature_scheme_from_oid(hash_oid);
}
else
info->digest_alg != OID_UNKNOWN)
{
/* derive the signature scheme from the digest algorithm
- * for the classic PKCS#7 RSA mechansim */
+ * for the classic PKCS#7 RSA mechanism */
info->sig_alg.scheme = signature_scheme_from_oid(
info->digest_alg);
}