[BACK]Return to skey.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / skey

Diff for /src/usr.bin/skey/skey.c between version 1.3 and 1.4

version 1.3, 1996/09/27 15:41:36 version 1.4, 1996/09/29 04:33:58
Line 59 
Line 59 
                 }                  }
         }          }
   
         /* could be in the form <number>/<seed> */          /* check for md4/md5 argument */
           if (argv[optind]) {
                   if (strcmp(argv[optind], "MD4") == 0) {
                           skey_set_MDX(4);
                           optind++;
                   } else if (strcmp(argv[optind], "MD5") == 0) {
                           skey_set_MDX(5);
                           optind++;
                   }
           }
   
           /* could be in the form <number>/<seed> */
         if (argc <= optind + 1) {          if (argc <= optind + 1) {
                 /* look for / in it */                  /* look for / in it */
                 if (argc <= optind)                  if (argc <= optind)
Line 118 
Line 128 
 usage(s)  usage(s)
         char   *s;          char   *s;
 {  {
         (void)fprintf(stderr, "Usage: %s [-x] [-4|-5] [-n count] [-p password ] sequence# [/] key", s);          (void)fprintf(stderr, "Usage: %s [-x] [-4|-5] [-n count] [-p password] [MD4|MD5] sequence# [/] key", s);
         exit(1);          exit(1);
 }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4