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/libcharon/plugins/maemo/maemo_service.c | |
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/libcharon/plugins/maemo/maemo_service.c')
-rw-r--r-- | src/libcharon/plugins/maemo/maemo_service.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcharon/plugins/maemo/maemo_service.c b/src/libcharon/plugins/maemo/maemo_service.c index 82e90694b..2e96f8fb4 100644 --- a/src/libcharon/plugins/maemo/maemo_service.c +++ b/src/libcharon/plugins/maemo/maemo_service.c @@ -352,6 +352,7 @@ static gboolean initiate_connection(private_maemo_service_t *this, TRUE, MODE_TUNNEL, ACTION_NONE, ACTION_NONE, ACTION_NONE, FALSE, 0, 0, NULL, NULL, 0); child_cfg->add_proposal(child_cfg, proposal_create_default(PROTO_ESP)); + child_cfg->add_proposal(child_cfg, proposal_create_default_aead(PROTO_ESP)); ts = traffic_selector_create_dynamic(0, 0, 65535); child_cfg->add_traffic_selector(child_cfg, TRUE, ts); ts = traffic_selector_create_from_string(0, TS_IPV4_ADDR_RANGE, "0.0.0.0", |