summaryrefslogtreecommitdiff
path: root/lib/doh.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2022-05-17 11:05:53 +0200
committerDaniel Stenberg <daniel@haxx.se>2022-05-17 11:05:54 +0200
commit8d86718f3f6f1ee2b14ba311051404b97e948fbf (patch)
tree08e206c07ba1d9b046b1556b7dffc1e96acfecd1 /lib/doh.c
parent1b3dcaed9fecd614135faaef243151f8085af7e5 (diff)
downloadcurl-8d86718f3f6f1ee2b14ba311051404b97e948fbf.tar.gz
opts: deprecate RANDOM_FILE and EGDSOCKET
These two options were only ever used for the OpenSSL backend for versions before 1.1.0. They were never used for other backends and they are not used with recent OpenSSL versions. They were never used much by applications. The defines RANDOM_FILE and EGD_SOCKET can still be set at build-time for ancient EOL OpenSSL versions. Closes #8670
Diffstat (limited to 'lib/doh.c')
-rw-r--r--lib/doh.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/doh.c b/lib/doh.c
index 4aef8b266..c124f6431 100644
--- a/lib/doh.c
+++ b/lib/doh.c
@@ -306,14 +306,6 @@ static CURLcode dohprobe(struct Curl_easy *data,
}
if(data->set.ssl.certinfo)
ERROR_CHECK_SETOPT(CURLOPT_CERTINFO, 1L);
- if(data->set.str[STRING_SSL_RANDOM_FILE]) {
- ERROR_CHECK_SETOPT(CURLOPT_RANDOM_FILE,
- data->set.str[STRING_SSL_RANDOM_FILE]);
- }
- if(data->set.str[STRING_SSL_EGDSOCKET]) {
- ERROR_CHECK_SETOPT(CURLOPT_EGDSOCKET,
- data->set.str[STRING_SSL_EGDSOCKET]);
- }
if(data->set.ssl.fsslctx)
ERROR_CHECK_SETOPT(CURLOPT_SSL_CTX_FUNCTION, data->set.ssl.fsslctx);
if(data->set.ssl.fsslctxp)