Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 0f28d15243f84a4eed9b81f8f0743400 > files > 2

john-1.7.9-9.mga5.src.rpm

--- a/src/MD5_std.c.orig	2012-11-30 16:50:12.859000054 +0100
+++ a/src/MD5_std.c	2012-11-30 16:52:18.538000084 +0100
@@ -584,7 +584,7 @@
 	MD5_word x0[15], MD5_word x1[15],
 	MD5_word out0[4], MD5_word out1[4])
 #else
-MAYBE_INLINE_BODY void MD5_body(MD5_word x0[15], MD5_word x1[15],
+MAYBE_INLINE_BODY inline void MD5_body(MD5_word x0[15], MD5_word x1[15],
 	MD5_word out0[4], MD5_word out1[4])
 #endif
 {
--- john-1.7.9-jumbo-7/src/lotus5_fmt_plug.c.orig	2012-11-30 17:02:33.987000067 +0100
+++ john-1.7.9-jumbo-7/src/lotus5_fmt_plug.c	2012-11-30 17:04:45.409000067 +0100
@@ -155,7 +155,7 @@
 /*Beginning of private functions*/
 /* Takes the plaintext password and generates the second row of our
  * working matrix for the final call to the mixing function*/
-void MAYBE_INLINE
+inline void MAYBE_INLINE
 lotus_transform_password (unsigned char *i1, unsigned char *o1,
     unsigned char *i2, unsigned char *o2)
 {
@@ -173,7 +173,7 @@
 }
 
 /* The mixing function: perturbs the first three rows of the matrix*/
-void MAYBE_INLINE lotus_mix (unsigned char *m1, unsigned char *m2)
+inline void MAYBE_INLINE lotus_mix (unsigned char *m1, unsigned char *m2)
 {
   int i, j;
   unsigned char p1, p2;