diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-03-12 15:47:17 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-03-12 15:47:17 +0000 |
commit | f2fd1b8856559ef9a8dfb2d996fa452e4ee6f41a (patch) | |
tree | d30a9a957a81b43916444134af99d7de9b5a07db /lib/url.c | |
parent | cb4efcf275fd2acb60fbd0978a3322c65c536704 (diff) |
two new random seed options: CURLOPT_RANDOM_FILE and CURLOPT_EGDSOCKET
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -250,6 +250,19 @@ CURLcode Curl_setopt(CURL *curl, CURLoption option, ...) va_start(param, option); switch(option) { + case CURLOPT_RANDOM_FILE: + /* + * This is the path name to a file that contains random data to seed + * the random SSL stuff with. The file is only used for reading. + */ + data->ssl.random_file = va_arg(param, char *); + break; + case CURLOPT_EGDSOCKET: + /* + * The Entropy Gathering Daemon socket pathname + */ + data->ssl.egdsocket = va_arg(param, char *); + break; case CURLOPT_MAXCONNECTS: /* * Set the absolute number of maximum simultaneous alive connection that |