summaryrefslogtreecommitdiff
path: root/ssh-rand-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-rand-helper.c')
-rw-r--r--ssh-rand-helper.c13
1 files changed, 12 insertions, 1 deletions
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