← Commit list

d3fa54a243

Daniel Stenberg
Daniel Stenberg
2026-03-23
SUCCESS Duration: 247s

Subject

config2setopts: make --capath work in proxy disabled builds

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/config2setopts.c+3 -2
@@ -295,10 +295,11 @@ static CURLcode ssl_ca_setopts(struct OperationConfig *config, CURL *curl)
MY_SETOPT_STR(curl, CURLOPT_PROXY_CAPATH,
(config->proxy_capath ? config->proxy_capath :
config->capath));
- if(result && config->proxy_capath) {
+ if((result == CURLE_NOT_BUILT_IN) || (result == CURLE_UNKNOWN_OPTION)) {
warnf("ignoring %s, not supported by libcurl with %s",
- config->proxy_capath ? "--proxy-capath" : "--capath",
+ "setting the CA path for the proxy",
ssl_backend());
+ result = CURLE_OK;
}
}
if(result)