Skip to content

Commit

Permalink
Merge pull request #2203 from augiedoggie/haiku-ca
Browse files Browse the repository at this point in the history
Add CA root certificate path for Haiku
  • Loading branch information
samsinsane committed Apr 7, 2024
2 parents d1f2f0a + 0259f8d commit 86dff6f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions contrib/curl/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ project "curl-lib"
filter { "system:not windows", "system:not macosx" }
defines { "USE_MBEDTLS" }

filter { "system:linux or bsd or solaris" }
filter { "system:linux or bsd or solaris or haiku" }
defines { "CURL_HIDDEN_SYMBOLS" }

-- find the location of the ca bundle
Expand All @@ -39,7 +39,8 @@ project "curl-lib"
"/usr/local/share/certs/ca-root.crt",
"/usr/local/share/certs/ca-root-nss.crt",
"/etc/certs/ca-certificates.crt",
"/etc/ssl/cert.pem" } do
"/etc/ssl/cert.pem",
"/boot/system/data/ssl/CARootCertificates.pem" } do
if os.isfile(f) then
ca = f
break
Expand Down

0 comments on commit 86dff6f

Please sign in to comment.