e597cfd
diff -up libmcrypt-2.5.8/modules/algorithms/des.c.BAD libmcrypt-2.5.8/modules/algorithms/des.c
e597cfd
--- libmcrypt-2.5.8/modules/algorithms/des.c.BAD	2008-08-25 17:40:29.000000000 -0400
e597cfd
+++ libmcrypt-2.5.8/modules/algorithms/des.c	2008-08-25 17:40:51.000000000 -0400
e597cfd
@@ -35,9 +35,12 @@
e597cfd
 
e597cfd
 /* #define	NULL	0 */
e597cfd
 
e597cfd
-static void permute_ip(), permute_fp(), perminit_ip(), spinit(),
e597cfd
-perminit_fp();
e597cfd
-static word32 f();
e597cfd
+static void permute_ip(char *, DES_KEY *, char *);
e597cfd
+static void permute_fp(char *, DES_KEY *, char *);
e597cfd
+static void perminit_ip(DES_KEY *);
e597cfd
+static void spinit(DES_KEY *);
e597cfd
+static void perminit_fp(DES_KEY *);
e597cfd
+static word32 f(DES_KEY *, register word32, register char *);
e597cfd
 
e597cfd
 
e597cfd
 /* Tables defined in the Data Encryption Standard documents */
e597cfd
diff -up libmcrypt-2.5.8/modules/algorithms/tripledes.c.BAD libmcrypt-2.5.8/modules/algorithms/tripledes.c
e597cfd
--- libmcrypt-2.5.8/modules/algorithms/tripledes.c.BAD	2008-08-25 17:40:56.000000000 -0400
e597cfd
+++ libmcrypt-2.5.8/modules/algorithms/tripledes.c	2008-08-25 17:41:13.000000000 -0400
e597cfd
@@ -36,8 +36,10 @@
e597cfd
 
e597cfd
 /* #define	NULL	0 */
e597cfd
 
e597cfd
-static void permute(), perminit(), spinit();
e597cfd
-static word32 f();
e597cfd
+static void permute(char *, char[16][16][8], char *);
e597cfd
+static void perminit(char[16][16][8], char[64]);
e597cfd
+static void spinit(TRIPLEDES_KEY *, int);
e597cfd
+static word32 f(TRIPLEDES_KEY *, int, register word32, register char *);
e597cfd
 
e597cfd
 
e597cfd
 /* Tables defined in the Data Encryption Standard documents */