summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-15 14:02:36 +1100
committerDamien Miller <djm@mindrot.org>2006-03-15 14:02:36 +1100
commit3717cdac6087c3e5a0df0def4d3c41694e1b55fe (patch)
tree4855831f47a8aca3c451335655e42a0ac27c0cd4
parenta62380786075ece35897bef1ba01386a55f7de33 (diff)
- (djm) [ssh-rand-helper.c] Needs a bunch of headers
-rw-r--r--ChangeLog3
-rw-r--r--ssh-rand-helper.c13
2 files changed, 14 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d574dc222..0edca130a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -254,6 +254,7 @@
254 - (djm) [loginrec.c] Need stat.h 254 - (djm) [loginrec.c] Need stat.h
255 - (djm) [openbsd-compat/sha2.h] Avoid include macro clash with 255 - (djm) [openbsd-compat/sha2.h] Avoid include macro clash with
256 system sha2.h 256 system sha2.h
257 - (djm) [ssh-rand-helper.c] Needs a bunch of headers
257 258
25820060313 25920060313
259 - (dtucker) [configure.ac] Bug #1171: Don't use printf("%lld", longlong) 260 - (dtucker) [configure.ac] Bug #1171: Don't use printf("%lld", longlong)
@@ -4155,4 +4156,4 @@
4155 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 4156 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
4156 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 4157 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
4157 4158
4158$Id: ChangeLog,v 1.4214 2006/03/15 03:02:01 djm Exp $ 4159$Id: ChangeLog,v 1.4215 2006/03/15 03:02:36 djm Exp $
diff --git a/ssh-rand-helper.c b/ssh-rand-helper.c
index 87e52cf75..d6e631317 100644
--- a/ssh-rand-helper.c
+++ b/ssh-rand-helper.c
@@ -24,6 +24,17 @@
24 24
25#include "includes.h" 25#include "includes.h"
26 26
27#include <sys/types.h>
28#include <sys/resource.h>
29#include <sys/stat.h>
30#include <sys/wait.h>
31
32#ifdef HAVE_SYS_UN_H
33# include <sys/un.h>
34#endif
35
36#include <signal.h>
37
27#include <openssl/rand.h> 38#include <openssl/rand.h>
28#include <openssl/sha.h> 39#include <openssl/sha.h>
29#include <openssl/crypto.h> 40#include <openssl/crypto.h>
@@ -39,7 +50,7 @@
39#include "pathnames.h" 50#include "pathnames.h"
40#include "log.h" 51#include "log.h"
41 52
42RCSID("$Id: ssh-rand-helper.c,v 1.26 2005/07/17 07:26:44 djm Exp $"); 53RCSID("$Id: ssh-rand-helper.c,v 1.27 2006/03/15 03:02:36 djm Exp $");
43 54
44/* Number of bytes we write out */ 55/* Number of bytes we write out */
45#define OUTPUT_SEED_SIZE 48 56#define OUTPUT_SEED_SIZE 48