From: Andreas Falkenhahn Date: Sun, 30 Apr 2023 21:54:00 +0000 (+0200) Subject: amiga: Fix CA certificate paths for AmiSSL and MorphOS X-Git-Tag: curl-8_1_0~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8d7746e3c035c50255907603974884fd39b57b6;p=thirdparty%2Fcurl.git 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 --- 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