From 8b60d3e28026b76026b71dc9d639d485dc66b4fd Mon Sep 17 00:00:00 2001 From: FoxyHunter Date: Mon, 1 Jun 2026 21:45:58 +0200 Subject: [PATCH] Fix: remove hardcoded CA path --- src/ipcheck.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ipcheck.c b/src/ipcheck.c index b8ae298..457368f 100644 --- a/src/ipcheck.c +++ b/src/ipcheck.c @@ -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);