[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.459 and 1.460

version 1.459, 2022/08/11 01:56:51 version 1.460, 2022/11/07 04:04:40
Line 1952 
Line 1952 
                 cert_valid_to = parse_relative_time(to, now);                  cert_valid_to = parse_relative_time(to, now);
         else if (strcmp(to, "forever") == 0)          else if (strcmp(to, "forever") == 0)
                 cert_valid_to = ~(u_int64_t)0;                  cert_valid_to = ~(u_int64_t)0;
         else if (strncmp(from, "0x", 2) == 0)          else if (strncmp(to, "0x", 2) == 0)
                 parse_hex_u64(to, &cert_valid_to);                  parse_hex_u64(to, &cert_valid_to);
         else if (parse_absolute_time(to, &cert_valid_to) != 0)          else if (parse_absolute_time(to, &cert_valid_to) != 0)
                 fatal("Invalid to time \"%s\"", to);                  fatal("Invalid to time \"%s\"", to);

Legend:
Removed from v.1.459  
changed lines
  Added in v.1.460