[Openswan Users] 1DES compile errors
Brian T
btuch at usa.net
Fri Aug 4 13:13:10 EDT 2006
Fixed it I think. Here is a patch so it will compile :
--- net/ipsec/ipsec_alg_cryptoapi.c.orig 2006-08-04 16:09:26.000000000 -0500
+++ net/ipsec/ipsec_alg_cryptoapi.c 2006-08-04 18:22:11.000000000 -0500
@@ -102,11 +102,11 @@
static int noauto = 0;
#ifdef module_param
-module_param(debug_crypto,int,0600)
-module_param(test_crypto,int,0600)
-module_param(excl_crypto,int,0600)
+module_param(debug_crypto,int,0600);
+module_param(test_crypto,int,0600);
+module_param(excl_crypto,int,0600);
-module_param(debug_crypto,int,0600)
+module_param(noauto,int,0600);
#else
MODULE_PARM(debug_crypto, "i");
MODULE_PARM(test_crypto, "i");
@@ -128,19 +128,19 @@
#ifdef CONFIG_KLIPS_ENC_1DES
#ifdef module_param
-module_param_array(des_ede1,int,NULL,0)
+module_param_array(des_ede1,int,NULL,0);
#else
MODULE_PARM(des_ede1,"1-2i");
#endif
#endif
#ifdef module_param
-module_param_array(des_ede3,int,NULL,0)
-module_param_array(aes,int,NULL,0)
-module_param_array(blowfish,int,NULL,0)
-module_param_array(cast,int,NULL,0)
-module_param_array(serpent,int,NULL,0)
-module_param_array(twofish,int,NULL,0)
-
+module_param_array(des_ede3,int,NULL,0);
+module_param_array(aes,int,NULL,0);
+module_param_array(blowfish,int,NULL,0);
+module_param_array(cast,int,NULL,0);
+module_param_array(serpent,int,NULL,0);
+module_param_array(twofish,int,NULL,0);
+#else
MODULE_PARM(des_ede3,"1-2i");
MODULE_PARM(aes,"1-2i");
MODULE_PARM(blowfish,"1-2i");
@@ -148,6 +148,7 @@
MODULE_PARM(serpent,"1-2i");
MODULE_PARM(twofish,"1-2i");
#endif
+
MODULE_PARM_DESC(des_ede1, "0: disable | 1: force_enable | min,max: dontuse");
MODULE_PARM_DESC(des_ede3, "0: disable | 1: force_enable | min,max: dontuse");
MODULE_PARM_DESC(aes, "0: disable | 1: force_enable | min,max: keybitlens");
> Hi,
>
> I'm trying to compile in 1DES support into OSW 2.4.6 ( final ) and kernel 2.6.17.7 ( patches
> applied ). ( I know it's unwise, but I have been directed to include it's support in our
> product ).
>
[ snipped out ]
> Thanks for any help you can lend.
>
> -Brian
>
More information about the Users
mailing list