aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/shash/files/shash-0.2.6-binary-files.patch')
-rw-r--r--app-crypt/shash/files/shash-0.2.6-binary-files.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/app-crypt/shash/files/shash-0.2.6-binary-files.patch b/app-crypt/shash/files/shash-0.2.6-binary-files.patch
deleted file mode 100644
index 1eb0cba1..00000000
--- a/app-crypt/shash/files/shash-0.2.6-binary-files.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- shash-0.2.6/src/shash.c
-+++ shash-0.2.6/src/shash.c
-@@ -631,11 +631,11 @@
-
- if (nosalt == FALSE && hmac == 1) {
- if (sscanf
-- (linebuf, "%s %s %s\n", hexbuffer, buffer,
-- buffer2) < 2) {
-+ (linebuf, "%s %s *%s\n", hexbuffer, buffer,
-+ buffer2) != 3) {
- if (sscanf
-- (linebuf, "%s %s *%s\n", hexbuffer,
-- buffer, buffer2) < 2)
-+ (linebuf, "%s %s %s\n", hexbuffer,
-+ buffer, buffer2) != 3)
- continue;
- }
-
-@@ -648,11 +648,11 @@
- key = pass2key(algorithm, keymode_buffer, &keylen, password, plen);
-
- } else {
-- if (sscanf(linebuf, "%s %s\n", buffer, buffer2) ==
-- 0) {
-+ if (sscanf(linebuf, "%s *%s\n", buffer, buffer2) !=
-+ 2) {
- if (sscanf
-- (linebuf, "%s *%s\n", buffer,
-- buffer2) == 0)
-+ (linebuf, "%s %s\n", buffer,
-+ buffer2) != 2)
- continue;
- }
-