1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

now re-seed by force (even if already seeded) if a random file or egd socket

is given
This commit is contained in:
Daniel Stenberg 2002-01-30 08:17:23 +00:00
parent be2f3071b5
commit 5b58e61f28

View File

@ -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);