|
|
@ -217,13 +217,19 @@ |
|
|
|
(curl_global_cleanup) |
|
|
|
(return 1)) |
|
|
|
|
|
|
|
;; For testing only! Disable SSL certificate validation |
|
|
|
(curl_easy_setopt curl CURLOPT_SSL_VERIFYPEER 0) |
|
|
|
(curl_easy_setopt curl CURLOPT_SSL_VERIFYHOST 0) |
|
|
|
|
|
|
|
(var new-version int 0) |
|
|
|
(unless (auto-update-download curl macoy-public-key update-cakedata-url current-version |
|
|
|
output-directory new-file-to-use (sizeof new-file-to-use)) |
|
|
|
output-directory new-file-to-use (sizeof new-file-to-use) |
|
|
|
(addr new-version)) |
|
|
|
(curl_easy_cleanup curl) |
|
|
|
(curl_global_cleanup) |
|
|
|
(return 1)) |
|
|
|
|
|
|
|
(fprintf stderr "The update says I should use %s\n" new-file-to-use) |
|
|
|
(fprintf stderr "The update says I should use %s for version %d\n" new-file-to-use new-version) |
|
|
|
|
|
|
|
(curl_easy_cleanup curl) |
|
|
|
(curl_global_cleanup) |
|
|
|