aboutsummaryrefslogtreecommitdiff
path: root/security/mdcrack/files
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2007-01-21 07:02:00 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2007-01-21 07:02:00 +0000
commite0199153dd9c72960239a9f34db415f9f87cbbe3 (patch)
tree615b6c5f5c98d125514179ccb1428d11959e11e1 /security/mdcrack/files
parent961faa758a6bae5586ab8c38435b5e1ad60d31ad (diff)
downloadports-e0199153dd9c72960239a9f34db415f9f87cbbe3.tar.gz
ports-e0199153dd9c72960239a9f34db415f9f87cbbe3.zip
Notes
Diffstat (limited to 'security/mdcrack/files')
-rw-r--r--security/mdcrack/files/patch-src_MD4_core3.c19
-rw-r--r--security/mdcrack/files/patch-src_MD4_global.h9
-rw-r--r--security/mdcrack/files/patch-src_MD5_core3.c19
-rw-r--r--security/mdcrack/files/patch-src_MD5_global.h9
-rw-r--r--security/mdcrack/files/patch-src_NTLM1_global.h11
-rw-r--r--security/mdcrack/files/patch-src_charset.c12
-rw-r--r--security/mdcrack/files/patch-src_global.h9
7 files changed, 88 insertions, 0 deletions
diff --git a/security/mdcrack/files/patch-src_MD4_core3.c b/security/mdcrack/files/patch-src_MD4_core3.c
new file mode 100644
index 000000000000..b2aa6ea4efbf
--- /dev/null
+++ b/security/mdcrack/files/patch-src_MD4_core3.c
@@ -0,0 +1,19 @@
+*** src/MD4/core3.c.orig Wed Aug 15 02:02:01 2001
+--- src/MD4/core3.c Sun Dec 17 09:13:36 2006
+***************
+*** 1575,1581 ****
+
+ ascii2bin(test, conv, hash);
+ Decode(result2, hash, 16);
+! (unsigned int)bufferr2+=len+35;
+ }
+ else
+
+--- 1575,1581 ----
+
+ ascii2bin(test, conv, hash);
+ Decode(result2, hash, 16);
+! bufferr2=(unsigned int)bufferr2+len+35;
+ }
+ else
+
diff --git a/security/mdcrack/files/patch-src_MD4_global.h b/security/mdcrack/files/patch-src_MD4_global.h
new file mode 100644
index 000000000000..dbef0b732e98
--- /dev/null
+++ b/security/mdcrack/files/patch-src_MD4_global.h
@@ -0,0 +1,9 @@
+*** src/MD4/global.h.orig Wed Aug 15 02:03:40 2001
+--- src/MD4/global.h Sun Dec 17 09:19:58 2006
+***************
+*** 1,3 ****
+--- 1,4 ----
++ #include <stdlib.h>
+ #ifdef ISBIG_ENDIAN
+ extern unsigned int x1[14];
+ #else
diff --git a/security/mdcrack/files/patch-src_MD5_core3.c b/security/mdcrack/files/patch-src_MD5_core3.c
new file mode 100644
index 000000000000..3da1655e5535
--- /dev/null
+++ b/security/mdcrack/files/patch-src_MD5_core3.c
@@ -0,0 +1,19 @@
+*** src/MD5/core3.c.orig Wed Aug 15 01:59:05 2001
+--- src/MD5/core3.c Sun Dec 17 09:16:57 2006
+***************
+*** 1537,1543 ****
+
+ ascii2bin(test, conv, hash);
+ Decode(result2, hash, 16);
+! (unsigned int)bufferr2+=len+35;
+ }
+ else
+
+--- 1537,1543 ----
+
+ ascii2bin(test, conv, hash);
+ Decode(result2, hash, 16);
+! bufferr2=(unsigned int)bufferr2+len+35;
+ }
+ else
+
diff --git a/security/mdcrack/files/patch-src_MD5_global.h b/security/mdcrack/files/patch-src_MD5_global.h
new file mode 100644
index 000000000000..2c2a586fc02d
--- /dev/null
+++ b/security/mdcrack/files/patch-src_MD5_global.h
@@ -0,0 +1,9 @@
+*** src/MD5/global.h.orig Wed Aug 15 05:55:31 2001
+--- src/MD5/global.h Sun Dec 17 09:20:01 2006
+***************
+*** 1,3 ****
+--- 1,4 ----
++ #include <stdlib.h>
+ #ifdef ISBIG_ENDIAN
+ extern unsigned int x1[14];
+ #else
diff --git a/security/mdcrack/files/patch-src_NTLM1_global.h b/security/mdcrack/files/patch-src_NTLM1_global.h
new file mode 100644
index 000000000000..9a798af92965
--- /dev/null
+++ b/security/mdcrack/files/patch-src_NTLM1_global.h
@@ -0,0 +1,11 @@
+*** src/NTLM1/global.h.orig Wed Jan 17 17:24:41 2007
+--- src/NTLM1/global.h Wed Jan 17 17:25:02 2007
+***************
+*** 1,3 ****
+--- 1,6 ----
++ #include <stdlib.h>
++ #include <string.h>
++
+ #ifdef ISBIG_ENDIAN
+ extern unsigned int x1[14];
+ #else
diff --git a/security/mdcrack/files/patch-src_charset.c b/security/mdcrack/files/patch-src_charset.c
new file mode 100644
index 000000000000..de7a114b6c6d
--- /dev/null
+++ b/security/mdcrack/files/patch-src_charset.c
@@ -0,0 +1,12 @@
+*** src/charset.c.orig Thu Aug 9 22:19:27 2001
+--- src/charset.c Sun Dec 17 09:19:26 2006
+***************
+*** 10,15 ****
+--- 10,16 ----
+
+
+ #include <stdio.h>
++ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/types.h>
+ #ifdef NCURSES
diff --git a/security/mdcrack/files/patch-src_global.h b/security/mdcrack/files/patch-src_global.h
new file mode 100644
index 000000000000..4cda965e3297
--- /dev/null
+++ b/security/mdcrack/files/patch-src_global.h
@@ -0,0 +1,9 @@
+*** src/global.h.orig Thu Aug 9 22:19:27 2001
+--- src/global.h Sun Dec 17 09:19:18 2006
+***************
+*** 1,3 ****
+--- 1,4 ----
++ #include <stdlib.h>
+
+
+ #define SYMBOL "-"