aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/vtls/openssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index 9cf36b358..fa128fa46 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -188,8 +188,8 @@ static int ossl_seed(struct Curl_easy *data)
char *buf = data->state.buffer; /* point to the big buffer */
int nread=0;
- /* Q: should we add support for a random file name as a libcurl option?
- A: Yes, it is here */
+ if(rand_enough())
+ return 1;
#ifndef RANDOM_FILE
/* if RANDOM_FILE isn't defined, we only perform this if an option tells