1 |
commit: 7c886e1756e0e6031f839dcd8ec5c727853fc85d |
2 |
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jul 3 17:14:00 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 7 07:18:36 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c886e17 |
7 |
|
8 |
app-crypt/johntheripper: remove unused patch |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/1826 |
11 |
|
12 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
13 |
|
14 |
...theripper-1.7.9-jumbo-5-NT-performance-02.patch | 31 ---------------------- |
15 |
1 file changed, 31 deletions(-) |
16 |
|
17 |
diff --git a/app-crypt/johntheripper/files/johntheripper-1.7.9-jumbo-5-NT-performance-02.patch b/app-crypt/johntheripper/files/johntheripper-1.7.9-jumbo-5-NT-performance-02.patch |
18 |
deleted file mode 100644 |
19 |
index 6066cb8..0000000 |
20 |
--- a/app-crypt/johntheripper/files/johntheripper-1.7.9-jumbo-5-NT-performance-02.patch |
21 |
+++ /dev/null |
22 |
@@ -1,31 +0,0 @@ |
23 |
-diff --git a/src/NT_fmt_plug.c b/src/NT_fmt_plug.c |
24 |
-index eb52e3d..411a45b 100644 |
25 |
---- a/src/NT_fmt_plug.c |
26 |
-+++ b/src/NT_fmt_plug.c |
27 |
-@@ -652,7 +652,7 @@ static inline void set_key_helper(unsigned int * keybuffer, |
28 |
- for(; key[md4_size]; i += xBuf, md4_size++) |
29 |
- { |
30 |
- unsigned int temp; |
31 |
-- if ((temp = key[++md4_size])) |
32 |
-+ if ((temp = key[++md4_size]) && md4_size < PLAINTEXT_LENGTH) |
33 |
- { |
34 |
- keybuffer[i] = key[md4_size-1] | (temp << 16); |
35 |
- } |
36 |
-@@ -704,7 +704,7 @@ static inline void set_key_helper_utf8(unsigned int * keybuffer, unsigned int xB |
37 |
- const UTF8 * source, unsigned int lenStoreOffset, unsigned int *lastlen) |
38 |
- { |
39 |
- unsigned int *target = keybuffer; |
40 |
-- unsigned int *targetEnd = &keybuffer[xBuf * ((PLAINTEXT_LENGTH + 1) >> 1)]; |
41 |
-+ unsigned int *targetEnd = &keybuffer[xBuf * (PLAINTEXT_LENGTH >> 1)]; |
42 |
- UTF32 chl, chh = 0x80; |
43 |
- unsigned int outlen = 0; |
44 |
- |
45 |
-@@ -844,7 +844,7 @@ static inline void set_key_helper_encoding(unsigned int * keybuffer, |
46 |
- i = 0; |
47 |
- for(md4_size = 0; key[md4_size]; i += xBuf, md4_size++) |
48 |
- { |
49 |
-- if ((temp = CP_to_Unicode[key[++md4_size]])) |
50 |
-+ if ((temp = CP_to_Unicode[key[++md4_size]]) && md4_size < PLAINTEXT_LENGTH) |
51 |
- keybuffer[i] = CP_to_Unicode[key[md4_size-1]] | (temp << 16); |
52 |
- else { |
53 |
- keybuffer[i] = CP_to_Unicode[key[md4_size-1]] | 0x800000; |