summaryrefslogtreecommitdiff
path: root/ssh.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-04-30 09:30:44 +1000
committerDamien Miller <djm@mindrot.org>2000-04-30 09:30:44 +1000
commit4018c1985d6e34f4625132965e814880ac3075ba (patch)
tree1a3450e78dc2fa600f485a07a5c5a866781f082c /ssh.h
parent1bead335d7381b553bc4a13b3ea2b9dc09679123 (diff)
- 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.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/ssh.h b/ssh.h
index 57d78278f..14e575ec9 100644
--- a/ssh.h
+++ b/ssh.h
@@ -13,7 +13,7 @@
13 * 13 *
14 */ 14 */
15 15
16/* RCSID("$Id: ssh.h,v 1.35 2000/04/29 13:57:12 damien Exp $"); */ 16/* RCSID("$Id: ssh.h,v 1.36 2000/04/29 23:30:46 damien Exp $"); */
17 17
18#ifndef SSH_H 18#ifndef SSH_H
19#define SSH_H 19#define SSH_H
@@ -124,6 +124,13 @@
124#define SSH_USER_DIR ".ssh" 124#define SSH_USER_DIR ".ssh"
125 125
126/* 126/*
127 * Relevant only when using builtin PRNG.
128 */
129#ifndef SSH_PRNG_SEED_FILE
130# define SSH_PRNG_SEED_FILE SSH_USER_DIR"/prng_seed"
131#endif /* SSH_PRNG_SEED_FILE */
132
133/*
127 * Per-user file containing host keys of known hosts. This file need not be 134 * Per-user file containing host keys of known hosts. This file need not be
128 * readable by anyone except the user him/herself, though this does not 135 * readable by anyone except the user him/herself, though this does not
129 * contain anything particularly secret. 136 * contain anything particularly secret.