From 03bfb228ffd95c37e135bb9a5a37160c247e28a9 Mon Sep 17 00:00:00 2001 From: james Date: Tue, 18 Nov 2008 01:25:05 +0000 Subject: Added --prng option to control PRNG (pseudo-random number generator) parameters. In previous OpenVPN versions, the PRNG was hardcoded to use the SHA1 hash. Now any OpenSSL hash may be used. This is part of an effort to remove hardcoded references to a specific cipher or cryptographic hash algorithm. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3503 e7ae566f-a301-0410-adde-c780ea21d3b5 --- ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ps.c') diff --git a/ps.c b/ps.c index 2268b72..f4290a5 100644 --- a/ps.c +++ b/ps.c @@ -793,7 +793,7 @@ port_share_open (const char *host, const int port) set_nonblock (fd[1]); /* initialize prng */ - prng_init (); + prng_init (NULL, 0); /* execute the event loop */ port_share_proxy (hostaddr, port, fd[1]); -- cgit