aboutsummaryrefslogtreecommitdiffstats
path: root/src/frontends/osx
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/frontends/osx
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/frontends/osx')
-rw-r--r--src/frontends/osx/charon-xpc/xpc_dispatch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/frontends/osx/charon-xpc/xpc_dispatch.c b/src/frontends/osx/charon-xpc/xpc_dispatch.c
index 564fd6e7d..f20c54bce 100644
--- a/src/frontends/osx/charon-xpc/xpc_dispatch.c
+++ b/src/frontends/osx/charon-xpc/xpc_dispatch.c
@@ -87,6 +87,7 @@ static peer_cfg_t* create_peer_cfg(char *name, char *host)
ike_cfg = ike_cfg_create(IKEV2, FALSE, FALSE, "0.0.0.0", local_port,
host, remote_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(name, ike_cfg,
CERT_SEND_IF_ASKED, UNIQUE_REPLACE, 1, /* keyingtries */
36000, 0, /* rekey 10h, reauth none */