diff options
author | Matt Johnston <matt@ucc.asn.au> | 2012-06-29 23:19:43 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2012-06-29 23:19:43 +0800 |
commit | d5ccc32b4d8903562107a534fbe09433c27d2880 (patch) | |
tree | 467f88f9f0d6d85c2be90d2a590504ec10742bba /svr-session.c | |
parent | db34044c7fdfcdf85a2606b686d60910e1ff36b6 (diff) |
Improve RNG seeding.
Try to read from /dev/urandom multiple times, take input from extra sources,
and use /dev/random when generating private keys
Diffstat (limited to 'svr-session.c')
-rw-r--r-- | svr-session.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/svr-session.c b/svr-session.c index 9c12e0f..cf82289 100644 --- a/svr-session.c +++ b/svr-session.c @@ -75,7 +75,6 @@ static const struct ChanType *svr_chantypes[] = { void svr_session(int sock, int childpipe) { char *host, *port; size_t len; - reseedrandom(); crypto_init(); common_session_init(sock, sock); |