/[gnats]/gnats/gnats/gnats-pwconv.c
ViewVC logotype

Diff of /gnats/gnats/gnats-pwconv.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by pdm, Sun Jul 14 17:29:48 2002 UTC revision 1.4 by pdm, Sun Jul 28 19:21:21 2002 UTC
# Line 47  static const char* USAGE[] = Line 47  static const char* USAGE[] =
47  #else  #else
48      " -p INFILE [OUTFILE]\n",      " -p INFILE [OUTFILE]\n",
49  #endif  #endif
50  "Convert GNATS v3 gnatsd.access passwords to version 4 format.\n\      "Convert GNATS v3 gnatsd*.access passwords to version 4 format.\n",
51  Supports plaintext, DES crypt and MD5 output.\n\  #ifdef HAVE_LIBCRYPT
52  \n",      "Supports plaintext, DES crypt and MD5 output.\n",
53    #else
54        "Supports only unencrypted plaintext (compiled without `libcrypt').\n",
55    #endif
56        "\n",
57  #ifdef HAVE_LIBCRYPT      #ifdef HAVE_LIBCRYPT    
58  "  -c  --crypt        Use crypt() encryption of passwords.\n\  "  -c  --crypt        Use crypt() encryption of passwords.\n\
59    -m  --md5          Use MD5 encryption.\n",    -m  --md5          Use MD5 encryption.\n",
# Line 244  process_file (char *infile, char *outfil Line 248  process_file (char *infile, char *outfil
248  int  int
249  main (int argc, char **argv)  main (int argc, char **argv)
250  {  {
251    #ifdef HAVE_LIBCRYPT
252    static const char* const OPTSTRING = "pcmVh";    static const char* const OPTSTRING = "pcmVh";
253    #else
254      static const char* const OPTSTRING = "pVh";
255    #endif
256    int optc = 0;    int optc = 0;
257    int opt_index = 0;    int opt_index = 0;
258    Crypt_Type crypttype = NONE;    Crypt_Type crypttype = NONE;

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

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26