ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/fcrackzip/main.c
(Generate patch)

Comparing fcrackzip/main.c (file contents):
Revision 1.1 by root, Mon Aug 4 07:09:51 2008 UTC vs.
Revision 1.2 by root, Wed Oct 1 04:29:43 2008 UTC

373 case 'D': 373 case 'D':
374 mode = m_dictionary; 374 mode = m_dictionary;
375 break; 375 break;
376 376
377 case 'p': 377 case 'p':
378 if (strlen (optarg) > MAX_PW)
379 {
380 fprintf (stderr, "'%s' is too long: passwords longer than %d characters not supported\n", optarg, MAX_PW);
381 exit (1);
382 }
383
378 strcpy (pw, optarg); 384 strcpy (pw, optarg);
379 break; 385 break;
380 386
381 case 'l': 387 case 'l':
382 pw[0] = 0; 388 pw[0] = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines