Fix: remove hardcoded CA path

This commit is contained in:
2026-06-01 21:45:58 +02:00
parent 57a9b9a0ca
commit 8b60d3e280
-2
View File
@@ -39,8 +39,6 @@ int ipcheck_get_public_ip(char *out_ip) {
if (!curl) return -1;
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_cb);
curl_easy_setopt(curl, CURLOPT_CAINFO, "/etc/ssl/certs/ca-certificates.crt");
curl_easy_setopt(curl, CURLOPT_CAPATH, "/etc/ssl/certs");
curl_easy_setopt(curl, CURLOPT_TIMEOUT, IPCHECK_TIMEOUT_SECS);
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);