forked from mirrors/principia
Disable HTTPS verification of host/peer
This commit is contained in:
parent
67b7836ef1
commit
d173754b5f
1 changed files with 3 additions and 0 deletions
|
|
@ -1967,6 +1967,9 @@ init_curl_defaults(void *curl)
|
|||
{
|
||||
curl_easy_reset(P.curl);
|
||||
|
||||
curl_easy_setopt(P.curl, CURLOPT_SSL_VERIFYHOST, 0); /* XXX */
|
||||
curl_easy_setopt(P.curl, CURLOPT_SSL_VERIFYPEER, 0); /* XXX */
|
||||
|
||||
curl_easy_setopt(P.curl, CURLOPT_USERAGENT, PRINCIPIA_USERAGENT);
|
||||
|
||||
curl_easy_setopt(P.curl, CURLOPT_HEADERFUNCTION, _parse_headers);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue