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

Diff for /src/usr.bin/ssh/ssh-keygen.c between version 1.110 and 1.111

version 1.110, 2003/10/14 19:42:10 version 1.111, 2003/11/21 11:57:03
Line 893 
Line 893 
                 case 'a':                  case 'a':
                         trials = atoi(optarg);                          trials = atoi(optarg);
                         if (trials < TRIAL_MINIMUM) {                          if (trials < TRIAL_MINIMUM) {
                                 fatal("Minimum primality trials is %d",                                  fatal("Minimum primality trials is %d",
                                     TRIAL_MINIMUM);                                      TRIAL_MINIMUM);
                         }                          }
                         break;                          break;
                 case 'M':                  case 'M':
                         memory = atoi(optarg);                          memory = atoi(optarg);
                         if (memory != 0 &&                          if (memory != 0 &&
                            (memory < LARGE_MINIMUM || memory > LARGE_MAXIMUM)) {                             (memory < LARGE_MINIMUM || memory > LARGE_MAXIMUM)) {
                                 fatal("Invalid memory amount (min %ld, max %ld)",                                  fatal("Invalid memory amount (min %ld, max %ld)",
                                     LARGE_MINIMUM, LARGE_MAXIMUM);                                      LARGE_MINIMUM, LARGE_MAXIMUM);
Line 959 
Line 959 
   
         if (do_gen_candidates) {          if (do_gen_candidates) {
                 FILE *out = fopen(out_file, "w");                  FILE *out = fopen(out_file, "w");
   
                 if (out == NULL) {                  if (out == NULL) {
                         error("Couldn't open modulus candidate file \"%s\": %s",                          error("Couldn't open modulus candidate file \"%s\": %s",
                             out_file, strerror(errno));                              out_file, strerror(errno));
Line 978 
Line 978 
                 if (have_identity && strcmp(identity_file, "-") != 0) {                  if (have_identity && strcmp(identity_file, "-") != 0) {
                         if ((in = fopen(identity_file, "r")) == NULL) {                          if ((in = fopen(identity_file, "r")) == NULL) {
                                 fatal("Couldn't open modulus candidate "                                  fatal("Couldn't open modulus candidate "
                                     "file \"%s\": %s", identity_file,                                      "file \"%s\": %s", identity_file,
                                     strerror(errno));                                      strerror(errno));
                         }                          }
                 } else                  } else

Legend:
Removed from v.1.110  
changed lines
  Added in v.1.111