git.annexia.org
/
ovirt-viewer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove ssl cert checking until ssl is fully / properly integration
[ovirt-viewer.git]
/
wui_thread.c
diff --git
a/wui_thread.c
b/wui_thread.c
index
9dab95c
..
c51c43f
100644
(file)
--- 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));
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) {
/* Try to fetch the URI. */
r = CURL_CHECK_ERROR (curl_easy_perform, (curl));
if (r != CURLE_OK) {