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 57d78278..14e575ec 100644
--- a/ssh.h
+++ b/ssh.h
@@ -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.