From 0259f8d5462279d084a5b8e197c38fced5798ee0 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Sat, 6 Apr 2024 14:42:40 -0600 Subject: [PATCH] Add CA root certificate path for Haiku --- contrib/curl/premake5.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/curl/premake5.lua b/contrib/curl/premake5.lua index 474f5cfab1..c06da95462 100644 --- a/contrib/curl/premake5.lua +++ b/contrib/curl/premake5.lua @@ -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 @@ -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