diff options
author | Damien Miller <djm@mindrot.org> | 2000-04-30 09:30:44 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-04-30 09:30:44 +1000 |
commit | 4018c1985d6e34f4625132965e814880ac3075ba (patch) | |
tree | 1a3450e78dc2fa600f485a07a5c5a866781f082c /ssh.h | |
parent | 1bead335d7381b553bc4a13b3ea2b9dc09679123 (diff) | |
download | openssh-git-4018c1985d6e34f4625132965e814880ac3075ba.tar.gz |
- Integrate Andre Lucas' <andre.lucas@dial.pipex.com> entropy collection
patch.
- Adds timeout to entropy collection
- Disables slow entropy sources
- Load and save seed file
- Changed entropy seed code to user per-user seeds only (server seed is
saved in root's .ssh directory)
- Use atexit() and fatal cleanups to save seed on exit
Diffstat (limited to 'ssh.h')
-rw-r--r-- | ssh.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -13,7 +13,7 @@ * */ -/* RCSID("$Id: ssh.h,v 1.35 2000/04/29 13:57:12 damien Exp $"); */ +/* RCSID("$Id: ssh.h,v 1.36 2000/04/29 23:30:46 damien Exp $"); */ #ifndef SSH_H #define SSH_H @@ -124,6 +124,13 @@ #define SSH_USER_DIR ".ssh" /* + * Relevant only when using builtin PRNG. + */ +#ifndef SSH_PRNG_SEED_FILE +# define SSH_PRNG_SEED_FILE SSH_USER_DIR"/prng_seed" +#endif /* SSH_PRNG_SEED_FILE */ + +/* * Per-user file containing host keys of known hosts. This file need not be * readable by anyone except the user him/herself, though this does not * contain anything particularly secret. |