summaryrefslogtreecommitdiff
path: root/pkgs/development/tools/misc/premake/no-curl-ca.patch
blob: 498b190e850d3f0ec23b9bc0329eb77c20db6d45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff --git a/contrib/curl/premake5.lua b/contrib/curl/premake5.lua
index b1e32fd..26dd399 100644
--- a/contrib/curl/premake5.lua
+++ b/contrib/curl/premake5.lua
@@ -36,22 +36,6 @@ project "curl-lib"
 
 		-- find the location of the ca bundle
 		local ca = nil
-		for _, f in ipairs {
-			"/etc/ssl/certs/ca-certificates.crt",
-			"/etc/openssl/certs/ca-certificates.crt",
-			"/etc/pki/tls/certs/ca-bundle.crt",
-			"/usr/share/ssl/certs/ca-bundle.crt",
-			"/usr/local/share/certs/ca-root.crt",
-			"/usr/local/share/certs/ca-root-nss.crt",
-			"/etc/certs/ca-certificates.crt",
-			"/etc/ssl/cert.pem",
-			"/etc/ssl/cacert.pem",
-			"/boot/system/data/ssl/CARootCertificates.pem" } do
-			if os.isfile(f) then
-				ca = f
-				break
-			end
-		end
 		if ca then
 			defines { 'CURL_CA_BUNDLE="' .. ca .. '"', 'CURL_CA_PATH="' .. path.getdirectory(ca) .. '"' }
 		end