summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2010-02-28 03:28:05 +1100
committerDamien Miller <djm@mindrot.org>2010-02-28 03:28:05 +1100
commit09a24db2d7e89c2fe72c1754181b6cc6e62949d7 (patch)
treee085e388ad9d342cd90601c45e1e8b802d26bdbd
parent58ac6de9648ea1e4d99061013965e0581abff101 (diff)
- (djm) [ssh-pkcs11-helper.c ] Ensure RNG is initialised and seeded
-rw-r--r--ChangeLog3
-rw-r--r--ssh-pkcs11-helper.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 703c347f..93168321 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+20100227
+- (djm) [ssh-pkcs11-helper.c ] Ensure RNG is initialised and seeded
+
20100226
- OpenBSD CVS Sync
- djm@cvs.openbsd.org 2010/02/26 20:29:54
diff --git a/ssh-pkcs11-helper.c b/ssh-pkcs11-helper.c
index 1684ab0c..54786c62 100644
--- a/ssh-pkcs11-helper.c
+++ b/ssh-pkcs11-helper.c
@@ -280,6 +280,8 @@ main(int argc, char **argv)
extern char *optarg;
extern char *__progname;
+ init_rng();
+ seed_rng();
__progname = ssh_get_progname(argv[0]);
log_init(__progname, log_level, log_facility, log_stderr);