diff options
author | Martin Willi <martin@revosec.ch> | 2014-04-24 14:28:57 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2014-05-16 16:51:19 +0200 |
commit | 8d74ec9e803805f259a2388d8f8e0d636a7d72f3 (patch) | |
tree | 809095cfdf501823d98606c96cefd21d22c4c952 /src/conftest | |
parent | 879e3d12ca5e1496a8f34f82bd73ef8853e5d5e9 (diff) | |
download | strongswan-8d74ec9e803805f259a2388d8f8e0d636a7d72f3.tar.bz2 strongswan-8d74ec9e803805f259a2388d8f8e0d636a7d72f3.tar.xz |
ike: Add an additional but separate AEAD proposal to CHILD config
This currently has no effect: We don't include AEAD algorithms in the default
ESP proposal, as we don't know if it is supported by the backend. But as we
hopefully get an algorithm query mechanism on kernel interfaces some day, we
add the appropriate functionality nonetheless.
Diffstat (limited to 'src/conftest')
-rw-r--r-- | src/conftest/config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conftest/config.c b/src/conftest/config.c index bd63df02a..c83db7ecd 100644 --- a/src/conftest/config.c +++ b/src/conftest/config.c @@ -181,6 +181,8 @@ static child_cfg_t *load_child_config(private_config_t *this, else { 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); |