aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-01-30 08:17:23 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-01-30 08:17:23 +0000
commit5b58e61f28555a2f58ac6d5d3b9fa1a72d5500ea (patch)
tree12e2f8bf3ee85249f8924d3813988d9686538bc4
parentbe2f3071b50dcf6cde1d30a76a5b40464594c4bf (diff)
now re-seed by force (even if already seeded) if a random file or egd socket
is given
-rw-r--r--lib/ssluse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c
index d1cc63ec8..a177916bd 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -678,7 +678,7 @@ Curl_SSLConnect(struct connectdata *conn)
/* mark this is being ssl enabled from here on out. */
conn->ssl.use = TRUE;
- if(!ssl_seeded) {
+ if(!ssl_seeded || data->set.ssl.random_file || data->set.ssl.egdsocket) {
/* Make funny stuff to get random input */
random_the_seed(data);