Commit f32d011d authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Georg Horn's patch. -k is no longer mutually exclusive with --cacert and

--capath. Using -k together with one of those just means that the result
of the CA cert check is ignored (but displayed if -v is used).
parent 14f79581
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -3158,7 +3158,6 @@ operate(struct Configurable *config, int argc, char *argv[])
            curl_easy_setopt(curl, CURLOPT_CAPATH, config->capath);
          curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, TRUE);
        }
        else
        if(config->insecure_ok) {
          /* new stuff needed for libcurl 7.10 */
          curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, FALSE);