ike: Send AEAD ESP default proposal first

We generally prefer AEAD nowadays.

References #3461.
This commit is contained in:
Tobias Brunner
2020-06-12 13:47:13 +02:00
parent c7bef954ee
commit 33412158f5
8 changed files with 10 additions and 12 deletions
+1 -2
View File
@@ -362,9 +362,8 @@ static child_cfg_t* create_child_cfg(private_cmd_connection_t *this,
}
else
{
child_cfg->add_proposal(child_cfg, proposal_create_default_aead(PROTO_ESP));
child_cfg->add_proposal(child_cfg, proposal_create_default(PROTO_ESP));
child_cfg->add_proposal(child_cfg,
proposal_create_default_aead(PROTO_ESP));
}
while (this->local_ts->remove_first(this->local_ts, (void**)&ts) == SUCCESS)
{