mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:03:35 +03:00
misc: remove unused doh flags when CURL_DISABLE_DOH is defined
Closes #8148
This commit is contained in:
parent
867ad1cd8b
commit
39406280bb
4 changed files with 28 additions and 1 deletions
|
|
@ -540,8 +540,10 @@ CURLcode Curl_init_userdefined(struct Curl_easy *data)
|
|||
* libcurl 7.10 introduced SSL verification *by default*! This needs to be
|
||||
* switched off unless wanted.
|
||||
*/
|
||||
#ifndef CURL_DISABLE_DOH
|
||||
set->doh_verifyhost = TRUE;
|
||||
set->doh_verifypeer = TRUE;
|
||||
#endif
|
||||
set->ssl.primary.verifypeer = TRUE;
|
||||
set->ssl.primary.verifyhost = TRUE;
|
||||
#ifdef USE_TLS_SRP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue