From 5b58e61f28555a2f58ac6d5d3b9fa1a72d5500ea Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 30 Jan 2002 08:17:23 +0000 Subject: now re-seed by force (even if already seeded) if a random file or egd socket is given --- lib/ssluse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3