aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/ha
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/ha
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/ha')
-rw-r--r--src/libcharon/plugins/ha/ha_tunnel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcharon/plugins/ha/ha_tunnel.c b/src/libcharon/plugins/ha/ha_tunnel.c
index 74147e553..53369008b 100644
--- a/src/libcharon/plugins/ha/ha_tunnel.c
+++ b/src/libcharon/plugins/ha/ha_tunnel.c
@@ -207,6 +207,7 @@ static void setup_tunnel(private_ha_tunnel_t *this,
charon->socket->get_port(charon->socket, FALSE),
remote, 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("ha", ike_cfg, CERT_NEVER_SEND,
UNIQUE_KEEP, 0, 86400, 0, 7200, 3600, FALSE, FALSE,
TRUE, 30, 0, FALSE, NULL, NULL);