← Commit list

fc222ec11f

Viktor Szakats
Viktor Szakats
2026-03-19
SUCCESS Duration: 267s

Subject

tool_operate: fix condition for loading `curl-ca-bundle.crt` (Windows)

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

src/tool_operate.c+1 -1
@@ -2119,7 +2119,7 @@ static CURLcode cacertpaths(struct OperationConfig *config)
}
#ifdef _WIN32
- if(!env) {
+ if(!config->capath && !config->cacert) {
#ifdef CURL_CA_SEARCH_SAFE
char *cacert = NULL;
FILE *cafile = tool_execpath("curl-ca-bundle.crt", &cacert);