ike: Send AEAD ESP default proposal first

We generally prefer AEAD nowadays.

References #3461.
This commit is contained in:
Tobias Brunner committed 2020-06-12 13:47:13 +02:00
1 parent c7bef954ee
commit 33412158f5
8 files changed
+10 -12

No files matched your search

+1 -2
View File
@@ -192,9 +192,8 @@ static child_cfg_t *load_child_config(private_config_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));
}
token = settings->get_str(settings, "configs.%s.%s.lts", NULL, config, child);