- (djm) [ssh-pkcs11-helper.c ] Ensure RNG is initialised and seeded

This commit is contained in:
Damien Miller 2010-02-28 03:28:05 +11:00
parent 58ac6de964
commit 09a24db2d7
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,6 @@
20100227
- (djm) [ssh-pkcs11-helper.c ] Ensure RNG is initialised and seeded
20100226 20100226
- OpenBSD CVS Sync - OpenBSD CVS Sync
- djm@cvs.openbsd.org 2010/02/26 20:29:54 - djm@cvs.openbsd.org 2010/02/26 20:29:54

View File

@ -280,6 +280,8 @@ main(int argc, char **argv)
extern char *optarg; extern char *optarg;
extern char *__progname; extern char *__progname;
init_rng();
seed_rng();
__progname = ssh_get_progname(argv[0]); __progname = ssh_get_progname(argv[0]);
log_init(__progname, log_level, log_facility, log_stderr); log_init(__progname, log_level, log_facility, log_stderr);