aboutsummaryrefslogtreecommitdiff
path: root/security/pkcrack/files/patch-findkey.c
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2011-06-21 14:07:47 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2011-06-21 14:07:47 +0000
commit1abc7fe677c35693ec34b9df14a4777c9114ea49 (patch)
treeecf20eb9d2d2888a2d4027723bfdf773cfc339c6 /security/pkcrack/files/patch-findkey.c
parent216872bd6d7b6335dd79f4741450052c805b674d (diff)
downloadports-1abc7fe677c35693ec34b9df14a4777c9114ea49.tar.gz
ports-1abc7fe677c35693ec34b9df14a4777c9114ea49.zip
Notes
Diffstat (limited to 'security/pkcrack/files/patch-findkey.c')
-rw-r--r--security/pkcrack/files/patch-findkey.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/security/pkcrack/files/patch-findkey.c b/security/pkcrack/files/patch-findkey.c
new file mode 100644
index 000000000000..ab852f1cbdd5
--- /dev/null
+++ b/security/pkcrack/files/patch-findkey.c
@@ -0,0 +1,18 @@
+--- ./findkey.c.orig 2003-01-01 16:49:51.000000000 +0100
++++ ./findkey.c 2011-06-21 16:03:11.000000000 +0200
+@@ -56,7 +56,7 @@
+ exit( 1 );
+ }
+
+-void main( int argc, char **argv )
++int main( int argc, char **argv )
+ {
+ uword key0, key1, key2;
+ int pwdLen=0;
+@@ -81,4 +81,6 @@
+ findLongPwd( key0, key1, key2, pwdLen, initBytes );
+ else
+ findPwd( key0, key1, key2 );
++
++ return(0);
+ }