aboutsummaryrefslogtreecommitdiffstats
path: root/src/frontends/osx
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2013-08-28 11:21:08 +0200
committerMartin Willi <martin@revosec.ch>2013-08-29 11:37:07 +0200
commit74ee1120d722b7bcfc14a09ec1c4f226738dc8d6 (patch)
tree8e1f9a0f810c54e58bed9e13542aed19fdecc095 /src/frontends/osx
parentee2d6f86189c1c5b8e55713c15cc8c8435ac3822 (diff)
downloadstrongswan-74ee1120d722b7bcfc14a09ec1c4f226738dc8d6.tar.bz2
strongswan-74ee1120d722b7bcfc14a09ec1c4f226738dc8d6.tar.xz
charon-xpc: include and prefer AES-GCM algorithms in ESP proposal
Diffstat (limited to 'src/frontends/osx')
-rw-r--r--src/frontends/osx/charon-xpc/xpc_dispatch.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/frontends/osx/charon-xpc/xpc_dispatch.c b/src/frontends/osx/charon-xpc/xpc_dispatch.c
index f60bcbfe0..0a5de15fd 100644
--- a/src/frontends/osx/charon-xpc/xpc_dispatch.c
+++ b/src/frontends/osx/charon-xpc/xpc_dispatch.c
@@ -132,6 +132,9 @@ static child_cfg_t* create_child_cfg(char *name)
NULL, FALSE, MODE_TUNNEL, /* updown, hostaccess */
ACTION_NONE, ACTION_NONE, ACTION_NONE, FALSE,
0, 0, NULL, NULL, 0);
+ child_cfg->add_proposal(child_cfg, proposal_create_from_string(PROTO_ESP,
+ "aes128gcm8-aes128gcm12-aes128gcm16-"
+ "aes256gcm8-aes256gcm12-aes256gcm16"));
child_cfg->add_proposal(child_cfg, proposal_create_default(PROTO_ESP));
ts = traffic_selector_create_dynamic(0, 0, 65535);
child_cfg->add_traffic_selector(child_cfg, TRUE, ts);