mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48: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:
parent
be2f3071b5
commit
5b58e61f28
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user