aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ps.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ps.c b/ps.c
index b5215fc..21b3499 100644
--- a/ps.c
+++ b/ps.c
@@ -29,6 +29,7 @@
#include "event.h"
#include "socket.h"
#include "fdmisc.h"
+#include "crypto.h"
#include "ps.h"
#include "memdbg.h"
@@ -791,6 +792,9 @@ port_share_open (const char *host, const int port)
/* no blocking on control channel back to parent */
set_nonblock (fd[1]);
+ /* initialize prng */
+ prng_init ();
+
/* execute the event loop */
port_share_proxy (hostaddr, port, fd[1]);