(root)/
Linux-PAM-1.5.3/
modules/
pam_unix/
bigcrypt_main.c
       1  #include <stdio.h>
       2  #include <string.h>
       3  
       4  #include "bigcrypt.h"
       5  
       6  int
       7  main(int argc, char **argv)
       8  {
       9  	if (argc < 3) {
      10  		fprintf(stderr, "Usage: %s password salt\n",
      11  			strchr(argv[0], '/') ?
      12  			(strchr(argv[0], '/') + 1) :
      13  			argv[0]);
      14  		return 0;
      15  	}
      16  	fprintf(stdout, "%s\n", bigcrypt(argv[1], argv[2]));
      17  	return 0;
      18  }