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@@ -32,19 +32,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/pki/tls/certs/ca-bundle.crt",
21- "/usr/share/ssl/certs/ca-bundle.crt",
22- "/usr/local/share/certs/ca-root.crt",
23- "/usr/local/share/certs/ca-root-nss.crt",
24- "/etc/certs/ca-certificates.crt",
25- "/etc/ssl/cert.pem" } do
26- if os.isfile(f) then
27- ca = f
28- break
29- end
30- end
31 if ca then
32 defines { 'CURL_CA_BUNDLE="' .. ca .. '"' }
33 end
34--
352.37.2
36