]> git.pld-linux.org Git - packages/john.git/blame - no-inline.patch
- disable some inlining on x8664
[packages/john.git] / no-inline.patch
CommitLineData
8165090b
JR
1--- john-1.7.9/src/MD5_std.c~ 2013-07-21 13:22:20.285649779 +0200
2+++ john-1.7.9/src/MD5_std.c 2013-07-21 13:22:44.392541796 +0200
3@@ -472,12 +472,14 @@
4 /*
5 * x86-64 implies a fairly recent CPU, so presumably its L1 instruction cache
6 * is large enough.
7- */
8 #ifdef __x86_64__
9 #define MAYBE_INLINE_BODY MAYBE_INLINE
10 #else
11+ */
12 #define MAYBE_INLINE_BODY
13+/*
14 #endif
15+ */
16
17 #if !MD5_X2
18
19--- john-1.7.9/src/lotus5_fmt_plug.c~ 2013-07-21 13:25:04.637186087 +0200
20+++ john-1.7.9/src/lotus5_fmt_plug.c 2013-07-21 13:25:41.664198855 +0200
21@@ -155,7 +155,7 @@
22 /*Beginning of private functions*/
23 /* Takes the plaintext password and generates the second row of our
24 * working matrix for the final call to the mixing function*/
25-void MAYBE_INLINE
26+void
27 lotus_transform_password (unsigned char *i1, unsigned char *o1,
28 unsigned char *i2, unsigned char *o2)
29 {
30@@ -173,7 +173,7 @@
31 }
32
33 /* The mixing function: perturbs the first three rows of the matrix*/
34-void MAYBE_INLINE lotus_mix (unsigned char *m1, unsigned char *m2)
35+void lotus_mix (unsigned char *m1, unsigned char *m2)
36 {
37 int i, j;
38 unsigned char p1, p2;
This page took 0.069591 seconds and 4 git commands to generate.