aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2015-11-23 11:17:02 +0100
committerTobias Brunner <tobias@strongswan.org>2015-11-23 11:20:30 +0100
commitb675909662c20bd5c3eb28707e44f42d4ba60b89 (patch)
tree34fd644d8305c4bc7280d57082be98bc8269b153 /src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
parent45c5b992e04a6b25c29c4f5fbe0d4934876d8a07 (diff)
downloadstrongswan-b675909662c20bd5c3eb28707e44f42d4ba60b89.tar.bz2
strongswan-b675909662c20bd5c3eb28707e44f42d4ba60b89.tar.xz
kernel-pfkey: Enable ENCR_CAMELLIA_CBC when it's available
Fixes #1214.
Diffstat (limited to 'src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c')
-rw-r--r--src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c b/src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
index c67366b86..a2fccd1d3 100644
--- a/src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
+++ b/src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
@@ -854,6 +854,9 @@ static kernel_algorithm_t encryption_algs[] = {
{ENCR_AES_GCM_ICV12, SADB_X_EALG_AES_GCM_ICV12 },
{ENCR_AES_GCM_ICV16, SADB_X_EALG_AES_GCM_ICV16 },
#endif
+#ifdef SADB_X_EALG_CAMELLIACBC
+ {ENCR_CAMELLIA_CBC, SADB_X_EALG_CAMELLIACBC },
+#endif
{END_OF_LIST, 0 },
};