summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2016-07-03 19:14:00 +0200
committerPatrice Clement <monsieurp@gentoo.org>2016-07-07 07:18:36 +0000
commit7c886e1756e0e6031f839dcd8ec5c727853fc85d (patch)
treea363c78feb26550d43c6e3182c9ff8c62c558299 /app-crypt/johntheripper
parentapp-crypt/acr38u: remove unused patch (diff)
downloadgentoo-7c886e1756e0e6031f839dcd8ec5c727853fc85d.tar.gz
gentoo-7c886e1756e0e6031f839dcd8ec5c727853fc85d.tar.bz2
gentoo-7c886e1756e0e6031f839dcd8ec5c727853fc85d.zip
app-crypt/johntheripper: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/1826 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-crypt/johntheripper')
-rw-r--r--app-crypt/johntheripper/files/johntheripper-1.7.9-jumbo-5-NT-performance-02.patch31
1 files changed, 0 insertions, 31 deletions
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
deleted file mode 100644
index 6066cb8f314..00000000000
--- a/app-crypt/johntheripper/files/johntheripper-1.7.9-jumbo-5-NT-performance-02.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff --git a/src/NT_fmt_plug.c b/src/NT_fmt_plug.c
-index eb52e3d..411a45b 100644
---- a/src/NT_fmt_plug.c
-+++ b/src/NT_fmt_plug.c
-@@ -652,7 +652,7 @@ static inline void set_key_helper(unsigned int * keybuffer,
- for(; key[md4_size]; i += xBuf, md4_size++)
- {
- unsigned int temp;
-- if ((temp = key[++md4_size]))
-+ if ((temp = key[++md4_size]) && md4_size < PLAINTEXT_LENGTH)
- {
- keybuffer[i] = key[md4_size-1] | (temp << 16);
- }
-@@ -704,7 +704,7 @@ static inline void set_key_helper_utf8(unsigned int * keybuffer, unsigned int xB
- const UTF8 * source, unsigned int lenStoreOffset, unsigned int *lastlen)
- {
- unsigned int *target = keybuffer;
-- unsigned int *targetEnd = &keybuffer[xBuf * ((PLAINTEXT_LENGTH + 1) >> 1)];
-+ unsigned int *targetEnd = &keybuffer[xBuf * (PLAINTEXT_LENGTH >> 1)];
- UTF32 chl, chh = 0x80;
- unsigned int outlen = 0;
-
-@@ -844,7 +844,7 @@ static inline void set_key_helper_encoding(unsigned int * keybuffer,
- i = 0;
- for(md4_size = 0; key[md4_size]; i += xBuf, md4_size++)
- {
-- if ((temp = CP_to_Unicode[key[++md4_size]]))
-+ if ((temp = CP_to_Unicode[key[++md4_size]]) && md4_size < PLAINTEXT_LENGTH)
- keybuffer[i] = CP_to_Unicode[key[md4_size-1]] | (temp << 16);
- else {
- keybuffer[i] = CP_to_Unicode[key[md4_size-1]] | 0x800000;