diff options
author | Andreas Falkenhahn <andreas@falkenhahn.com> | 2023-04-30 23:54:00 +0200 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2023-05-01 14:08:55 -0400 |
commit | b8d7746e3c035c50255907603974884fd39b57b6 (patch) | |
tree | 0f1ea4f561b4cc5a3c4710a517ffdc9c3c74980b | |
parent | b637166092f995267606bebe5965db3ae3122fdc (diff) | |
download | curl-b8d7746e3c035c50255907603974884fd39b57b6.tar.gz |
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
-rw-r--r-- | lib/config-amigaos.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/config-amigaos.h b/lib/config-amigaos.h index e9fa7a4e7..11f36a121 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 |