1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/security/pkcrack/files/patch-findkey.c
2011-06-21 14:07:47 +00:00

19 lines
396 B
C

--- ./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);
}