aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2012-11-06 22:27:25 +0100
committerDaniel Stenberg <daniel@haxx.se>2012-11-06 22:27:25 +0100
commita1be8e7f9be2feff103f314cd8ea8a50a560e79e (patch)
tree39a7a7a43e89844b43467b77b14149edaaa8c45b /src
parent8d97bed80623e8dd2cb3988df30416a713383f1a (diff)
curl: set CURLOPT_SSL_VERIFYHOST to 0 to disable
Diffstat (limited to 'src')
-rw-r--r--src/tool_operate.c2
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);