- (tim) [ssh-pkcs11-helper.c] Move declarations before calling functions
to make older compilers (gcc 2.95) happy.
This commit is contained in:
parent
acc9b29486
commit
bff24b8ad2
|
@ -4,6 +4,8 @@
|
||||||
platform, passwords are stored case-insensitively, but sshd requires
|
platform, passwords are stored case-insensitively, but sshd requires
|
||||||
exact case matching for Match blocks in sshd_config(5). Based on
|
exact case matching for Match blocks in sshd_config(5). Based on
|
||||||
a patch from vinschen AT redhat.com.
|
a patch from vinschen AT redhat.com.
|
||||||
|
- (tim) [ssh-pkcs11-helper.c] Move declarations before calling functions
|
||||||
|
to make older compilers (gcc 2.95) happy.
|
||||||
|
|
||||||
20100227
|
20100227
|
||||||
- (djm) [ssh-pkcs11-helper.c ] Ensure RNG is initialised and seeded
|
- (djm) [ssh-pkcs11-helper.c ] Ensure RNG is initialised and seeded
|
||||||
|
|
|
@ -274,12 +274,12 @@ main(int argc, char **argv)
|
||||||
LogLevel log_level = SYSLOG_LEVEL_ERROR;
|
LogLevel log_level = SYSLOG_LEVEL_ERROR;
|
||||||
char buf[4*4096];
|
char buf[4*4096];
|
||||||
|
|
||||||
TAILQ_INIT(&pkcs11_keylist);
|
|
||||||
pkcs11_init(0);
|
|
||||||
|
|
||||||
extern char *optarg;
|
extern char *optarg;
|
||||||
extern char *__progname;
|
extern char *__progname;
|
||||||
|
|
||||||
|
TAILQ_INIT(&pkcs11_keylist);
|
||||||
|
pkcs11_init(0);
|
||||||
|
|
||||||
init_rng();
|
init_rng();
|
||||||
seed_rng();
|
seed_rng();
|
||||||
__progname = ssh_get_progname(argv[0]);
|
__progname = ssh_get_progname(argv[0]);
|
||||||
|
|
Loading…
Reference in New Issue