[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.12 and 1.13

version 1.12, 1999/03/06 20:27:41 version 1.13, 1999/12/04 21:20:20
Line 62 
Line 62 
                         case 'p':                          case 'p':
                                 if (i + 1 == argc)                                  if (i + 1 == argc)
                                         usage(argv[0]);                                          usage(argv[0]);
                                 (void)strcpy(passwd, argv[++i]);                                  if (strlcpy(passwd, argv[++i], sizeof(passwd)) >
                                       sizeof(passwd))
                                           errx(1, "Password too long");
                                 pass = 1;                                  pass = 1;
                                 break;                                  break;
                         case 'x':                          case 'x':

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13