Skip to content

Commit

Permalink
ssl disable on update version
Browse files Browse the repository at this point in the history
  • Loading branch information
stdmedoth committed Jun 28, 2021
1 parent d3dea2d commit 1fe0245
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/etc/update_version.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ int download_new_version(void) {
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, errorbuf);
curl_easy_setopt(curl, CURLOPT_FAILONERROR, 1);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, fp);
carregar_interface();
res = curl_easy_perform(curl);
Expand Down

0 comments on commit 1fe0245

Please sign in to comment.