kernel-pfkey: Enable ENCR_CAMELLIA_CBC when it's available
[strongswan.git] / src / libhydra / plugins / kernel_pfkey / kernel_pfkey_ipsec.c
index c67366b..a2fccd1 100644 (file)
@@ -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                                                       },
 };