X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=wui_thread.c;fp=wui_thread.c;h=c51c43f614d0a2ce80b74e75a72bdaa32b43c870;hb=cfe0d19f1d679bd8fc5897b8cbf00d0fb0342e5b;hp=9dab95c2d29e49eacd0769aa476fc26c9649bd89;hpb=838aa4673bea4bf0e33a9e5045e4deba393a317d;p=ovirt-viewer.git diff --git a/wui_thread.c b/wui_thread.c index 9dab95c..c51c43f 100644 --- a/wui_thread.c +++ b/wui_thread.c @@ -669,6 +669,10 @@ do_login (void) CURL_CHECK_ERROR (curl_easy_setopt, (curl, CURLOPT_FOLLOWLOCATION, (long) 1)); CURL_CHECK_ERROR (curl_easy_setopt, (curl, CURLOPT_MAXREDIRS, (long) 10)); + // FIXME when ssl is introduced into ovirt-viewer, remove there two lines + CURL_CHECK_ERROR(curl_easy_setopt, (curl, CURLOPT_SSL_VERIFYHOST, 0)); + CURL_CHECK_ERROR(curl_easy_setopt, (curl, CURLOPT_SSL_VERIFYPEER, 0)); + /* Try to fetch the URI. */ r = CURL_CHECK_ERROR (curl_easy_perform, (curl)); if (r != CURLE_OK) {