]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
amiga: Fix CA certificate paths for AmiSSL and MorphOS
authorAndreas Falkenhahn <andreas@falkenhahn.com>
Sun, 30 Apr 2023 21:54:00 +0000 (23:54 +0200)
committerJay Satiro <raysatiro@yahoo.com>
Mon, 1 May 2023 18:08:55 +0000 (14:08 -0400)
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

index e9fa7a4e70436c97d0f6c861c1f05c30edfcc62a..11f36a121af4f67e48f86f8430f3391cffe20e28 100644 (file)
 #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