diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-11-18 01:25:05 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-11-18 01:25:05 +0000 |
commit | 03bfb228ffd95c37e135bb9a5a37160c247e28a9 (patch) | |
tree | 62fe17de8cce142be0749cf4a07509246b02f48b /ps.c | |
parent | Version 2.1_rc14 (diff) | |
download | openvpn-03bfb228ffd95c37e135bb9a5a37160c247e28a9.tar.xz |
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
Diffstat (limited to 'ps.c')
-rw-r--r-- | ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]); |