aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcharon')
-rw-r--r--src/libcharon/plugins/forecast/forecast_listener.c2
-rw-r--r--src/libcharon/sa/child_sa.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/forecast/forecast_listener.c b/src/libcharon/plugins/forecast/forecast_listener.c
index 35962c294..63a8cb15b 100644
--- a/src/libcharon/plugins/forecast/forecast_listener.c
+++ b/src/libcharon/plugins/forecast/forecast_listener.c
@@ -76,7 +76,7 @@ typedef struct {
u_int32_t spi;
/** use UDP encapsulation */
bool encap;
- /** wheter we should allow reencapsulation of IPsec received forecasts */
+ /** whether we should allow reencapsulation of IPsec received forecasts */
bool reinject;
/** broadcast address used for that entry */
u_int32_t broadcast;
diff --git a/src/libcharon/sa/child_sa.c b/src/libcharon/sa/child_sa.c
index 9ea384e5a..e0db2e655 100644
--- a/src/libcharon/sa/child_sa.c
+++ b/src/libcharon/sa/child_sa.c
@@ -1293,7 +1293,7 @@ child_sa_t * child_sa_create(host_t *me, host_t* other,
* reqid cache would find the same reqid for our selectors, this does
* not work in a special case: If an SA is triggered by a trap policy,
* but the negotiated SA gets narrowed, we still must reuse the same
- * reqid to succesfully "trigger" the SA on the kernel level. Rekeying
+ * reqid to successfully "trigger" the SA on the kernel level. Rekeying
* such an SA requires an explicit reqid, as the cache currently knows
* the original selectors only for that reqid. */
if (rekey)