diff options
author | Yves-Alexis Perez <corsac@debian.org> | 2015-06-03 10:23:53 +0200 |
---|---|---|
committer | Yves-Alexis Perez <corsac@debian.org> | 2015-06-03 10:23:53 +0200 |
commit | 3c11352ebb6417051afe7f806e7573b7c3caea92 (patch) | |
tree | 7cf1e6c5ad9a6715f7609c0453ca8ecd9ad47c6c /src | |
parent | d4ef7a92f876acfedc8eb39b21ed2c65daddac31 (diff) | |
download | vyos-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.c | 13 | ||||
-rw-r--r-- | src/libcharon/sa/ikev2/tasks/child_create.c | 7 |
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: |