aboutsummaryrefslogtreecommitdiffstats
path: root/community/john/truecrypt_fmt_plug.patch
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2019-08-09 18:34:21 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-08-09 19:39:54 -0300
commit7d9088e726f56c89ec685f92e90d99ada1ae5684 (patch)
treece28763e1186a073a3b27289ecc7f94cb56c4571 /community/john/truecrypt_fmt_plug.patch
parente0f31363292f21e9cb69415564549b3b7d467b5a (diff)
downloadaports-7d9088e726f56c89ec685f92e90d99ada1ae5684.tar.bz2
aports-7d9088e726f56c89ec685f92e90d99ada1ae5684.tar.xz
community/john: modernize
Diffstat (limited to 'community/john/truecrypt_fmt_plug.patch')
-rw-r--r--community/john/truecrypt_fmt_plug.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/community/john/truecrypt_fmt_plug.patch b/community/john/truecrypt_fmt_plug.patch
deleted file mode 100644
index 20da51ba7e..0000000000
--- a/community/john/truecrypt_fmt_plug.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- a/src/truecrypt_fmt_plug.c.orig 2014-12-18 07:59:02.000000000 +0000
-+++ b/src/truecrypt_fmt_plug.c 2014-12-18 20:00:47.321449585 +0000
-@@ -310,8 +310,8 @@ static int crypt_all(int *pcount, struct
- pbkdf2_sha512_sse((const unsigned char **)pin, lens, psalt->salt, 64, psalt->num_iterations, &(x.poutc), sizeof(key), 0);
- }
- #else
-- if (is_sha512)
-- pbkdf2_sha512((const unsigned char*)key_buffer[i], strlen(key_buffer[i]), psalt->salt, 64, num_iterations, key, sizeof(key), 0);
-+ if (psalt->hash_type == IS_SHA512)
-+ pbkdf2_sha512((const unsigned char*)key_buffer[i], strlen((char*)key_buffer[i]), psalt->salt, 64, psalt->num_iterations, key, sizeof(key), 0);
- #endif
- else if (psalt->hash_type == IS_RIPEMD160)
- pbkdf2_ripemd160(key_buffer[i], strlen((char*)(key_buffer[i])), psalt->salt, 64, psalt->num_iterations, key, sizeof(key), 0);
-