[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.218 and 1.219

version 1.218, 2012/10/02 07:07:45 version 1.219, 2012/11/14 02:32:15
Line 1922 
Line 1922 
 {  {
         char dotsshdir[MAXPATHLEN], comment[1024], *passphrase1, *passphrase2;          char dotsshdir[MAXPATHLEN], comment[1024], *passphrase1, *passphrase2;
         char *checkpoint = NULL;          char *checkpoint = NULL;
         char out_file[MAXPATHLEN], *rr_hostname = NULL;          char out_file[MAXPATHLEN], *rr_hostname = NULL, *ep;
         Key *private, *public;          Key *private, *public;
         struct passwd *pw;          struct passwd *pw;
         struct stat st;          struct stat st;
Line 2126 
Line 2126 
                         parse_cert_times(optarg);                          parse_cert_times(optarg);
                         break;                          break;
                 case 'z':                  case 'z':
                         cert_serial = strtonum(optarg, 0, LLONG_MAX, &errstr);                          errno = 0;
                         if (errstr)                          cert_serial = strtoull(optarg, &ep, 10);
                                 fatal("Invalid serial number: %s", errstr);                          if (*optarg < '0' || *optarg > '9' || *ep != '\0' ||
                               (errno == ERANGE && cert_serial == ULLONG_MAX))
                                   fatal("Invalid serial number \"%s\"", optarg);
                         break;                          break;
                 case '?':                  case '?':
                 default:                  default:

Legend:
Removed from v.1.218  
changed lines
  Added in v.1.219