[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.339 and 1.340

version 1.339, 2019/08/05 21:45:27 version 1.340, 2019/08/08 08:02:57
Line 966 
Line 966 
                 { NULL, NULL, NULL }                  { NULL, NULL, NULL }
         };          };
   
         u_int bits = 0;          u_int32_t bits = 0;
         int first = 0;          int first = 0;
         struct stat st;          struct stat st;
         struct sshkey *private, *public;          struct sshkey *private, *public;
Line 2431 
Line 2431 
         int print_public = 0, print_generic = 0, cert_serial_autoinc = 0;          int print_public = 0, print_generic = 0, cert_serial_autoinc = 0;
         unsigned long long cert_serial = 0;          unsigned long long cert_serial = 0;
         char *identity_comment = NULL, *ca_key_path = NULL;          char *identity_comment = NULL, *ca_key_path = NULL;
         u_int bits = 0;          u_int32_t bits = 0;
         FILE *f;          FILE *f;
         const char *errstr;          const char *errstr;
         int log_level = SYSLOG_LEVEL_INFO;          int log_level = SYSLOG_LEVEL_INFO;
Line 2471 
Line 2471 
                         gen_all_hostkeys = 1;                          gen_all_hostkeys = 1;
                         break;                          break;
                 case 'b':                  case 'b':
                         bits = (u_int32_t)strtonum(optarg, 10, 32768, &errstr);                          bits = (u_int32_t)strtonum(optarg, 1, UINT32_MAX,
                               &errstr);
                         if (errstr)                          if (errstr)
                                 fatal("Bits has bad value %s (%s)",                                  fatal("Bits has bad value %s (%s)",
                                         optarg, errstr);                                          optarg, errstr);

Legend:
Removed from v.1.339  
changed lines
  Added in v.1.340