created by port_share_open, so as to ensure
a newly seeded PRNG sequence. This is strictly
defensive programming since port_share_proxy
currently does not use the PRNG.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3070
e7ae566f-a301-0410-adde-
c780ea21d3b5
#include "event.h"
#include "socket.h"
#include "fdmisc.h"
+#include "crypto.h"
#include "ps.h"
#include "memdbg.h"
/* 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]);