[BACK]Return to crypt.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libcrypt

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libcrypt/crypt.c between version 1.33 and 1.34

version 1.33, 2011/12/28 03:13:09 version 1.34, 2015/06/17 00:15:26
Line 1013  prtab(const char *s, unsigned char *t, i
Line 1013  prtab(const char *s, unsigned char *t, i
 int  int
 main(int argc, char *argv[])  main(int argc, char *argv[])
 {  {
     if (argc < 2)          if (argc < 2) {
         errx(1, "Usage: %s password [salt]\n", argv[0]);                  fprintf(stderr, "Usage: %s password [salt]\n", getprogname());
                   return EXIT_FAILURE;
           }
   
     printf("%s\n", crypt(argv[1], (argc > 2) ? argv[2] : argv[1]));          printf("%s\n", crypt(argv[1], (argc > 2) ? argv[2] : argv[1]));
     exit(0);          return EXIT_SUCCESS;
 }  }
 #endif  #endif

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

CVSweb <webmaster@jp.NetBSD.org>