diff options
author | Damien Miller <djm@mindrot.org> | 2010-02-28 03:28:05 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2010-02-28 03:28:05 +1100 |
commit | 09a24db2d7e89c2fe72c1754181b6cc6e62949d7 (patch) | |
tree | e085e388ad9d342cd90601c45e1e8b802d26bdbd | |
parent | 58ac6de9648ea1e4d99061013965e0581abff101 (diff) |
- (djm) [ssh-pkcs11-helper.c ] Ensure RNG is initialised and seeded
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | ssh-pkcs11-helper.c | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,6 @@ | |||
1 | 20100227 | ||
2 | - (djm) [ssh-pkcs11-helper.c ] Ensure RNG is initialised and seeded | ||
3 | |||
1 | 20100226 | 4 | 20100226 |
2 | - OpenBSD CVS Sync | 5 | - OpenBSD CVS Sync |
3 | - djm@cvs.openbsd.org 2010/02/26 20:29:54 | 6 | - djm@cvs.openbsd.org 2010/02/26 20:29:54 |
diff --git a/ssh-pkcs11-helper.c b/ssh-pkcs11-helper.c index 1684ab0c2..54786c62a 100644 --- a/ssh-pkcs11-helper.c +++ b/ssh-pkcs11-helper.c | |||
@@ -280,6 +280,8 @@ main(int argc, char **argv) | |||
280 | extern char *optarg; | 280 | extern char *optarg; |
281 | extern char *__progname; | 281 | extern char *__progname; |
282 | 282 | ||
283 | init_rng(); | ||
284 | seed_rng(); | ||
283 | __progname = ssh_get_progname(argv[0]); | 285 | __progname = ssh_get_progname(argv[0]); |
284 | 286 | ||
285 | log_init(__progname, log_level, log_facility, log_stderr); | 287 | log_init(__progname, log_level, log_facility, log_stderr); |