summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYves-Alexis Perez <corsac@debian.org>2015-06-03 10:23:53 +0200
committerYves-Alexis Perez <corsac@debian.org>2015-06-03 10:23:53 +0200
commit3c11352ebb6417051afe7f806e7573b7c3caea92 (patch)
tree7cf1e6c5ad9a6715f7609c0453ca8ecd9ad47c6c /src
parentd4ef7a92f876acfedc8eb39b21ed2c65daddac31 (diff)
downloadvyos-strongswan-3c11352ebb6417051afe7f806e7573b7c3caea92.tar.gz
vyos-strongswan-3c11352ebb6417051afe7f806e7573b7c3caea92.zip
update few files not correctly updated by import-orig
Diffstat (limited to 'src')
-rw-r--r--src/charon-tkm/src/tkm/tkm_kernel_sad.c13
-rw-r--r--src/libcharon/sa/ikev2/tasks/child_create.c7
2 files changed, 0 insertions, 20 deletions
diff --git a/src/charon-tkm/src/tkm/tkm_kernel_sad.c b/src/charon-tkm/src/tkm/tkm_kernel_sad.c
index c6eda0091..2556f6b8b 100644
--- a/src/charon-tkm/src/tkm/tkm_kernel_sad.c
+++ b/src/charon-tkm/src/tkm/tkm_kernel_sad.c
@@ -152,19 +152,6 @@ static bool sad_entry_match_other_esa(sad_entry_t * const entry,
}
/**
- * Find a list entry with given reqid, spi and proto values.
- */
-static bool sad_entry_match_dst(sad_entry_t * const entry,
- const u_int32_t * const reqid,
- const u_int32_t * const spi,
- const u_int8_t * const proto)
-{
- return entry->reqid == *reqid &&
- entry->spi == *spi &&
- entry->proto == *proto;
-}
-
-/**
* Compare two SAD entries for equality.
*/
static bool sad_entry_equal(sad_entry_t * const left, sad_entry_t * const right)
diff --git a/src/libcharon/sa/ikev2/tasks/child_create.c b/src/libcharon/sa/ikev2/tasks/child_create.c
index 6bae960ad..e0f930c3c 100644
--- a/src/libcharon/sa/ikev2/tasks/child_create.c
+++ b/src/libcharon/sa/ikev2/tasks/child_create.c
@@ -1209,13 +1209,6 @@ METHOD(task_t, build_r, status_t,
chunk_empty);
return SUCCESS;
}
- if (this->dh_failed)
- {
- DBG1(DBG_IKE, "applying DH public value failed");
- message->add_notify(message, FALSE, NO_PROPOSAL_CHOSEN,
- chunk_empty);
- return SUCCESS;
- }
no_dh = FALSE;
break;
case IKE_AUTH: