two new random seed options: CURLOPT_RANDOM_FILE and CURLOPT_EGDSOCKET

This commit is contained in:
Daniel Stenberg
2001-03-12 15:47:17 +00:00
parent cb4efcf275
commit f2fd1b8856
3 changed files with 54 additions and 19 deletions

View File

@@ -418,6 +418,13 @@ typedef enum {
makes the operation slower and is less friendly for the network. */
CINIT(FORBID_REUSE, LONG, 75),
/* Set to a file name that contains random data for libcurl to use to
seed the random engine when doing SSL connects. */
CINIT(RANDOM_FILE, OBJECTPOINT, 76),
/* Set to the Entropy Gathering Daemon socket pathname */
CINIT(EGDSOCKET, OBJECTPOINT, 77),
CURLOPT_LASTENTRY /* the last unusued */
} CURLoption;