[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.124 and 1.125

version 1.124, 2005/05/23 22:44:01 version 1.125, 2005/05/24 02:05:09
Line 1008 
Line 1008 
         struct passwd *pw;          struct passwd *pw;
         struct stat st;          struct stat st;
         int opt, type, fd, download = 0;          int opt, type, fd, download = 0;
         uint32_t memory = 0, generator_wanted = 0, trials = 100;          uint32_t memory = 0, generator_wanted = 0, trials = 100;
         int do_gen_candidates = 0, do_screen_candidates = 0;          int do_gen_candidates = 0, do_screen_candidates = 0;
         int log_level = SYSLOG_LEVEL_INFO;          int log_level = SYSLOG_LEVEL_INFO;
         BIGNUM *start = NULL;          BIGNUM *start = NULL;
         FILE *f;          FILE *f;
           const char *errstr;
   
         extern int optind;          extern int optind;
         extern char *optarg;          extern char *optarg;
         const char *errstr;  
   
         SSLeay_add_all_algorithms();          SSLeay_add_all_algorithms();
         log_init(av[0], SYSLOG_LEVEL_INFO, SYSLOG_FACILITY_USER, 1);          log_init(av[0], SYSLOG_LEVEL_INFO, SYSLOG_FACILITY_USER, 1);
Line 1037 
Line 1037 
                 switch (opt) {                  switch (opt) {
                 case 'b':                  case 'b':
                         bits = strtonum(optarg, 512, 32768, &errstr);                          bits = strtonum(optarg, 512, 32768, &errstr);
                         if (errstr) {                          if (errstr)
                                 printf("Bits has bad value %s (%s)\n", optarg, errstr);                                  fatal("Bits has bad value %s (%s)",
                                 exit(1);                                          optarg, errstr);
                         }  
                         break;                          break;
                 case 'F':                  case 'F':
                         find_host = 1;                          find_host = 1;

Legend:
Removed from v.1.124  
changed lines
  Added in v.1.125