strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kernel-pfkey: Enable ENCR_CAMELLIA_CBC when it's available
[strongswan.git]
/
src
/
libhydra
/
plugins
/
kernel_pfkey
/
kernel_pfkey_ipsec.c
diff --git
a/src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
b/src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
index
c67366b
..
a2fccd1
100644
(file)
--- 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 },
};