at master 1.1 kB view raw
1From a26e36d55cd2447488e01b2ff4ac65e2596862cd Mon Sep 17 00:00:00 2001 2From: Ellie Hermaszewska <git@monoid.al> 3Date: Mon, 3 Oct 2022 16:50:33 +0800 4Subject: [PATCH] Do not set CURL_CA_BUNDLE 5 6--- 7 contrib/curl/premake5.lua | 13 ------------- 8 1 file changed, 13 deletions(-) 9 10diff --git a/contrib/curl/premake5.lua b/contrib/curl/premake5.lua 11index 474f5cfa..553bbd02 100644 12--- a/contrib/curl/premake5.lua 13+++ b/contrib/curl/premake5.lua 14@@ -36,21 +36,6 @@ project "curl-lib" 15 16 -- find the location of the ca bundle 17 local ca = nil 18- for _, f in ipairs { 19- "/etc/ssl/certs/ca-certificates.crt", 20- "/etc/openssl/certs/ca-certificates.crt", 21- "/etc/pki/tls/certs/ca-bundle.crt", 22- "/usr/share/ssl/certs/ca-bundle.crt", 23- "/usr/local/share/certs/ca-root.crt", 24- "/usr/local/share/certs/ca-root-nss.crt", 25- "/etc/certs/ca-certificates.crt", 26- "/etc/ssl/cert.pem", 27- "/boot/system/data/ssl/CARootCertificates.pem" } do 28- if os.isfile(f) then 29- ca = f 30- break 31- end 32- end 33 if ca then 34 defines { 'CURL_CA_BUNDLE="' .. ca .. '"', 'CURL_CA_PATH="' .. path.getdirectory(ca) .. '"' } 35 end 36-- 372.37.2 38