aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/maemo/maemo_service.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2014-04-24 14:24:43 +0200
committerMartin Willi <martin@revosec.ch>2014-05-16 16:51:19 +0200
commit879e3d12ca5e1496a8f34f82bd73ef8853e5d5e9 (patch)
tree4a9515584c47e4a2dd6e915a9c6bf5ec930c8999 /src/libcharon/plugins/maemo/maemo_service.c
parent356846db5dfe57f813d2ec1cdbced75214fa878a (diff)
downloadstrongswan-879e3d12ca5e1496a8f34f82bd73ef8853e5d5e9.tar.bz2
strongswan-879e3d12ca5e1496a8f34f82bd73ef8853e5d5e9.tar.xz
ike: Add an additional but separate AEAD proposal to IKE config, if supported
Diffstat (limited to 'src/libcharon/plugins/maemo/maemo_service.c')
-rw-r--r--src/libcharon/plugins/maemo/maemo_service.c1
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 f0f3105c4..82e90694b 100644
--- a/src/libcharon/plugins/maemo/maemo_service.c
+++ b/src/libcharon/plugins/maemo/maemo_service.c
@@ -327,6 +327,7 @@ static gboolean initiate_connection(private_maemo_service_t *this,
charon->socket->get_port(charon->socket, FALSE),
hostname, IKEV2_UDP_PORT, FRAGMENTATION_NO, 0);
ike_cfg->add_proposal(ike_cfg, proposal_create_default(PROTO_IKE));
+ ike_cfg->add_proposal(ike_cfg, proposal_create_default_aead(PROTO_IKE));
peer_cfg = peer_cfg_create(this->current, ike_cfg,
CERT_SEND_IF_ASKED,