aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/charon/plugins/kernel_klips/kernel_klips_ipsec.c4
-rw-r--r--src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/charon/plugins/kernel_klips/kernel_klips_ipsec.c b/src/charon/plugins/kernel_klips/kernel_klips_ipsec.c
index 892572a68..453be70f4 100644
--- a/src/charon/plugins/kernel_klips/kernel_klips_ipsec.c
+++ b/src/charon/plugins/kernel_klips/kernel_klips_ipsec.c
@@ -812,8 +812,9 @@ static kernel_algorithm_t integrity_algs[] = {
{END_OF_LIST, 0, },
};
+#if 0
/**
- * Algorithms for IPComp
+ * Algorithms for IPComp, unused yet
*/
static kernel_algorithm_t compression_algs[] = {
/* {IPCOMP_OUI, 0 }, */
@@ -822,6 +823,7 @@ static kernel_algorithm_t compression_algs[] = {
/* {IPCOMP_LZJH, 0 }, */
{END_OF_LIST, 0 },
};
+#endif
/**
* Look up a kernel algorithm ID and its key size
diff --git a/src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c b/src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
index 313642f58..f6419895d 100644
--- a/src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
+++ b/src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
@@ -492,8 +492,9 @@ static kernel_algorithm_t integrity_algs[] = {
{END_OF_LIST, 0, },
};
+#if 0
/**
- * Algorithms for IPComp
+ * Algorithms for IPComp, unused yet
*/
static kernel_algorithm_t compression_algs[] = {
/* {IPCOMP_OUI, 0 }, */
@@ -502,6 +503,7 @@ static kernel_algorithm_t compression_algs[] = {
{IPCOMP_LZJH, SADB_X_CALG_LZJH },
{END_OF_LIST, 0 },
};
+#endif
/**
* Look up a kernel algorithm ID and its key size