#defing out compress algs to avoid compiler warning
authorMartin Willi <martin@strongswan.org>
Tue, 11 Nov 2008 18:35:10 +0000 (18:35 -0000)
committerMartin Willi <martin@strongswan.org>
Tue, 11 Nov 2008 18:35:10 +0000 (18:35 -0000)
src/charon/plugins/kernel_klips/kernel_klips_ipsec.c
src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c

index 892572a..453be70 100644 (file)
@@ -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
index 313642f..f641989 100644 (file)
@@ -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