From b8d7746e3c035c50255907603974884fd39b57b6 Mon Sep 17 00:00:00 2001 From: Andreas Falkenhahn Date: Sun, 30 Apr 2023 23:54:00 +0200 Subject: [PATCH] amiga: Fix CA certificate paths for AmiSSL and MorphOS AmiSSL stores certificates in `AmiSSL:Certs` and MorphOS stores them in `MOSSYS:Data/SSL/curl-ca-bundle.crt`. Closes https://github.com/curl/curl/pull/11059 --- lib/config-amigaos.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/config-amigaos.h b/lib/config-amigaos.h index e9fa7a4e70..11f36a121a 100644 --- a/lib/config-amigaos.h +++ b/lib/config-amigaos.h @@ -87,7 +87,15 @@ #define PACKAGE_STRING "curl -" #define PACKAGE_TARNAME "curl" #define PACKAGE_VERSION "-" + +#if defined(USE_AMISSL) +#define CURL_CA_PATH "AmiSSL:Certs" +#elif defined(__MORPHOS__) +#define CURL_CA_BUNDLE "MOSSYS:Data/SSL/curl-ca-bundle.crt" +#else #define CURL_CA_BUNDLE "s:curl-ca-bundle.crt" +#endif + #define STDC_HEADERS 1 #define TIME_WITH_SYS_TIME 1