- (djm) [ssh-keygen.c] Use correct local variable, instead of
maybe-undefined global "optarg"
This commit is contained in:
parent
386dbc05e9
commit
910f209c1d
|
@ -1,3 +1,7 @@
|
||||||
|
20100304
|
||||||
|
- (djm) [ssh-keygen.c] Use correct local variable, instead of
|
||||||
|
maybe-undefined global "optarg"
|
||||||
|
|
||||||
20100303
|
20100303
|
||||||
- (djm) [PROTOCOL.certkeys] Add RCS Ident
|
- (djm) [PROTOCOL.certkeys] Add RCS Ident
|
||||||
- OpenBSD CVS Sync
|
- OpenBSD CVS Sync
|
||||||
|
|
|
@ -1300,7 +1300,7 @@ parse_cert_times(char *timespec)
|
||||||
from = xstrdup(timespec);
|
from = xstrdup(timespec);
|
||||||
to = strchr(from, ':');
|
to = strchr(from, ':');
|
||||||
if (to == NULL || from == to || *(to + 1) == '\0')
|
if (to == NULL || from == to || *(to + 1) == '\0')
|
||||||
fatal("Invalid certificate life specification %s", optarg);
|
fatal("Invalid certificate life specification %s", timespec);
|
||||||
*to++ = '\0';
|
*to++ = '\0';
|
||||||
|
|
||||||
if (*from == '-' || *from == '+')
|
if (*from == '-' || *from == '+')
|
||||||
|
|
Loading…
Reference in New Issue