diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-09-27 22:46:32 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-09-27 22:46:32 +1000 |
commit | c6f8219e0d4ee1f64fb7b4da88523c951a03c68a (patch) | |
tree | d861d4cbccee17f7de7c864e1d26634c0174741d /entropy.h | |
parent | f1377bdeed3ca7268c6a5d3fa171a09df7be9064 (diff) |
- (dtucker) [entropy.c entropy.h sshd.c] Pass RNG seed to the reexec'ed
process when sshd relies on ssh-random-helper. Should result in faster
logins on systems without a real random device or prngd. ok djm@
Diffstat (limited to 'entropy.h')
-rw-r--r-- | entropy.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -22,12 +22,17 @@ | |||
22 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 22 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
23 | */ | 23 | */ |
24 | 24 | ||
25 | /* $Id: entropy.h,v 1.4 2001/02/09 01:55:36 djm Exp $ */ | 25 | /* $Id: entropy.h,v 1.5 2005/09/27 12:46:32 dtucker Exp $ */ |
26 | 26 | ||
27 | #ifndef _RANDOMS_H | 27 | #ifndef _RANDOMS_H |
28 | #define _RANDOMS_H | 28 | #define _RANDOMS_H |
29 | 29 | ||
30 | #include "buffer.h" | ||
31 | |||
30 | void seed_rng(void); | 32 | void seed_rng(void); |
31 | void init_rng(void); | 33 | void init_rng(void); |
32 | 34 | ||
35 | void rexec_send_rng_seed(Buffer *); | ||
36 | void rexec_recv_rng_seed(Buffer *); | ||
37 | |||
33 | #endif /* _RANDOMS_H */ | 38 | #endif /* _RANDOMS_H */ |