diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tool_operate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c index f864918ce..826b4a5da 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -1051,7 +1051,7 @@ int operate(struct Configurable *config, int argc, argv_item_t argv[]) if(curlinfo->features & CURL_VERSION_SSL) { if(config->insecure_ok) { my_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); - my_setopt(curl, CURLOPT_SSL_VERIFYHOST, 1L); + my_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L); } else { my_setopt(curl, CURLOPT_SSL_VERIFYPEER, 1L); |