- (djm) [ssh-keygen.c] Use correct local variable, instead of

maybe-undefined global "optarg"
This commit is contained in:
Damien Miller 2010-03-04 14:17:22 +11:00
parent 386dbc05e9
commit 910f209c1d
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
20100304
- (djm) [ssh-keygen.c] Use correct local variable, instead of
maybe-undefined global "optarg"
20100303
- (djm) [PROTOCOL.certkeys] Add RCS Ident
- OpenBSD CVS Sync

View File

@ -1300,7 +1300,7 @@ parse_cert_times(char *timespec)
from = xstrdup(timespec);
to = strchr(from, ':');
if (to == NULL || from == to || *(to + 1) == '\0')
fatal("Invalid certificate life specification %s", optarg);
fatal("Invalid certificate life specification %s", timespec);
*to++ = '\0';
if (*from == '-' || *from == '+')