- (djm) [ssh-rand-helper.c] declare optind, avoiding compilation failure

on some platforms
This commit is contained in:
Damien Miller 2010-03-05 11:40:19 +11:00
parent 689b872842
commit 48b6021721
2 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,8 @@
imorgan AT nas.nasa.gov
- (tim) [ssh-pkcs11.c] Fix "non-constant initializer" errors in older
compilers. OK djm@
- (djm) [ssh-rand-helper.c] declare optind, avoiding compilation failure
on some platforms
20100304
- (djm) [ssh-keygen.c] Use correct local variable, instead of

View File

@ -818,6 +818,7 @@ main(int argc, char **argv)
unsigned char *buf;
int ret, ch, debug_level, output_hex, bytes;
extern char *optarg;
extern int optind;
LogLevel ll;
__progname = ssh_get_progname(argv[0]);